1
0
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:
chylex 2017-04-03 03:50:08 +02:00
parent 2b116d6756
commit c8cbf70a28

View File

@ -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);
});