Give CustomCSS's style sheet an ID

This commit is contained in:
Zixaphir 2014-02-23 08:29:27 -07:00
parent 3a8ccfc237
commit 5e10d45f4b
3 changed files with 3 additions and 3 deletions

View File

@ -14355,7 +14355,7 @@
return this.addStyle(); return this.addStyle();
}, },
addStyle: function() { addStyle: function() {
return this.style = $.addStyle(Conf['usercss']); return this.style = $.addStyle(Conf['usercss'], 'CustomCSS');
}, },
rmStyle: function() { rmStyle: function() {
if (this.style) { if (this.style) {

View File

@ -14358,7 +14358,7 @@
return this.addStyle(); return this.addStyle();
}, },
addStyle: function() { addStyle: function() {
return this.style = $.addStyle(Conf['usercss']); return this.style = $.addStyle(Conf['usercss'], 'CustomCSS');
}, },
rmStyle: function() { rmStyle: function() {
if (this.style) { if (this.style) {

View File

@ -4,7 +4,7 @@ CustomCSS =
@addStyle() @addStyle()
addStyle: -> addStyle: ->
@style = $.addStyle Conf['usercss'] @style = $.addStyle Conf['usercss'], 'CustomCSS'
rmStyle: -> rmStyle: ->
if @style if @style