From 10253eed2a7f170bf1643585afb56144910f8fc1 Mon Sep 17 00:00:00 2001 From: chylex <info@chylex.com> Date: Mon, 11 Apr 2016 02:08:20 +0200 Subject: [PATCH] Fix TweetDeck load notification triggers --- Resources/code.js | 4 ++++ 1 file changed, 4 insertions(+) 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){