test2



This content originally appeared on DEV Community and was authored by Alex Patterson

  • test2jasdf

ALEX

// Detect dark theme var iframe = document.getElementById(‘tweet-1083592734038929408-950’); if (document.body.className.includes(‘dark-theme’)) { iframe.src = “https://platform.twitter.com/embed/Tweet.html?id=1083592734038929408&theme=dark” }


This content originally appeared on DEV Community and was authored by Alex Patterson