mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-30 23:34:09 +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;
|
if (container.length == 0)return;
|
||||||
|
|
||||||
new MutationObserver(function(mutations){
|
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
|
// TODO check if popups are enabled first
|
||||||
|
|
||||||
Array.prototype.forEach.call(mutations,function(mutation){
|
Array.prototype.forEach.call(mutations,function(mutation){
|
||||||
|
Loading…
Reference in New Issue
Block a user