diff --git a/Resources/code.js b/Resources/code.js
index 491d1136..9e389615 100644
--- a/Resources/code.js
+++ b/Resources/code.js
@@ -76,6 +76,10 @@
     if (container.length == 0)return;
     
     new MutationObserver(function(mutations){
+      if (!container[0].hasAttribute("data-tweetdeck-loaded")){
+        container[0].setAttribute("data-tweetdeck-loaded","");
+        return;
+      }
       // TODO check if popups are enabled first
       
       Array.prototype.forEach.call(mutations,function(mutation){