From 5e10d45f4b56f7e9f332e5e33c15743da27d60b6 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sun, 23 Feb 2014 08:29:27 -0700 Subject: [PATCH] Give CustomCSS's style sheet an ID --- builds/appchan-x.user.js | 2 +- builds/crx/script.js | 2 +- src/Miscellaneous/CustomCSS.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 6bf712da7..ed4aed3f2 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -14355,7 +14355,7 @@ return this.addStyle(); }, addStyle: function() { - return this.style = $.addStyle(Conf['usercss']); + return this.style = $.addStyle(Conf['usercss'], 'CustomCSS'); }, rmStyle: function() { if (this.style) { diff --git a/builds/crx/script.js b/builds/crx/script.js index 3f25e4b8a..3e99c3aa2 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -14358,7 +14358,7 @@ return this.addStyle(); }, addStyle: function() { - return this.style = $.addStyle(Conf['usercss']); + return this.style = $.addStyle(Conf['usercss'], 'CustomCSS'); }, rmStyle: function() { if (this.style) { diff --git a/src/Miscellaneous/CustomCSS.coffee b/src/Miscellaneous/CustomCSS.coffee index b0b8bc7e7..7945dea39 100755 --- a/src/Miscellaneous/CustomCSS.coffee +++ b/src/Miscellaneous/CustomCSS.coffee @@ -4,7 +4,7 @@ CustomCSS = @addStyle() addStyle: -> - @style = $.addStyle Conf['usercss'] + @style = $.addStyle Conf['usercss'], 'CustomCSS' rmStyle: -> if @style