1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-22 18:15:47 +02:00

Fix TweetDeck load notification triggers

This commit is contained in:
chylex 2016-04-11 02:08:20 +02:00
parent 383a7c8aac
commit 10253eed2a

View File

@ -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){