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:
parent
383a7c8aac
commit
10253eed2a
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user