Give CustomCSS's style sheet an ID
This commit is contained in:
parent
3a8ccfc237
commit
5e10d45f4b
@ -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) {
|
||||||
|
|||||||
@ -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) {
|
||||||
|
|||||||
@ -4,7 +4,7 @@ CustomCSS =
|
|||||||
@addStyle()
|
@addStyle()
|
||||||
|
|
||||||
addStyle: ->
|
addStyle: ->
|
||||||
@style = $.addStyle Conf['usercss']
|
@style = $.addStyle Conf['usercss'], 'CustomCSS'
|
||||||
|
|
||||||
rmStyle: ->
|
rmStyle: ->
|
||||||
if @style
|
if @style
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user