From bfffdbee910518b7c571ea954b5f2070d73a6ffa Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 14 Feb 2013 17:50:25 +0100 Subject: [PATCH] God damn coffee. Also that specific title makes chrome shit itself. --- 4chan_x.user.js | 8 +++----- lib/$.coffee | 4 +--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 283960803..7e82ba4ae 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -739,11 +739,9 @@ textContent: css }) : $.el('link', { rel: 'stylesheet', - href: URL.createObjectURL(new Blob([css])) - }, { - type: 'text/css' - }, { - title: g.NAMESPACE + href: URL.createObjectURL(new Blob([css], { + type: 'text/css' + })) }); $.asap((function() { return d.head; diff --git a/lib/$.coffee b/lib/$.coffee index a1262a1c6..d7db8ded0 100644 --- a/lib/$.coffee +++ b/lib/$.coffee @@ -90,9 +90,7 @@ $.extend $, else $.el 'link', rel: 'stylesheet' - href: URL.createObjectURL new Blob [css], - type: 'text/css' - title: g.NAMESPACE + href: URL.createObjectURL new Blob([css], type: 'text/css') $.asap (-> d.head), -> $.add d.head, style style