From 2e300a7b8f3da894eb62f92647ea2fb23b58cc54 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Fri, 26 Jan 2018 15:43:52 +0100 Subject: [PATCH] Fix broken stylesheets in notifications after a recent TweetDeck update Closes #199 --- Resources/Scripts/code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index f8738fe0..c4312b6b 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -280,7 +280,7 @@ "<html "+Array.prototype.map.call(document.documentElement.attributes, ele => `${ele.name}="${ele.value}"`).join(" ")+"><head>" ]; - $(document.head).children("link[href*='css/font.']:first,link[href*='css/app-"+themeName+".']:first,meta[charset],meta[http-equiv]").each(function(){ + $(document.head).children("link[rel='stylesheet'],meta[charset]").each(function(){ tags.push($(this)[0].outerHTML); });