mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-22 18:15:47 +02:00
Optimize notification <head> tag to not include the disabled stylesheet
This commit is contained in:
parent
2b116d6756
commit
c8cbf70a28
@ -74,7 +74,7 @@
|
||||
var getNotificationHeadContents = function(){
|
||||
var tags = [];
|
||||
|
||||
$(document.head).children("link[rel='stylesheet'],meta[charset],meta[http-equiv]").each(function(){
|
||||
$(document.head).children("link[rel='stylesheet']:not([title]),link[title='"+TD.settings.getTheme()+"'],meta[charset],meta[http-equiv]").each(function(){
|
||||
tags.push($(this)[0].outerHTML);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user