mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-01 17:34:10 +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 getNotificationHeadContents = function(){
|
||||||
var tags = [];
|
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);
|
tags.push($(this)[0].outerHTML);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user