Fix: newStyleInUsercss -> newStyleAsUsercss
This commit is contained in:
parent
0c292c3150
commit
95e3ba13cd
|
@ -974,7 +974,7 @@
|
||||||
"optionsAdvancedContextDelete": {
|
"optionsAdvancedContextDelete": {
|
||||||
"message": "Add 'Delete' in editor context menu"
|
"message": "Add 'Delete' in editor context menu"
|
||||||
},
|
},
|
||||||
"optionsAdvancedNewStyleInUsercss": {
|
"optionsAdvancedNewStyleAsUsercss": {
|
||||||
"message": "Write new style as usercss"
|
"message": "Write new style as usercss"
|
||||||
},
|
},
|
||||||
"optionsActions": {
|
"optionsActions": {
|
||||||
|
|
|
@ -1354,7 +1354,7 @@ function setStyleMeta(style) {
|
||||||
function isUsercss(style) {
|
function isUsercss(style) {
|
||||||
return (
|
return (
|
||||||
style.usercssData ||
|
style.usercssData ||
|
||||||
!style.id && prefs.get('newStyleInUsercss')
|
!style.id && prefs.get('newStyleAsUsercss')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ var prefs = new function Prefs() {
|
||||||
'show-badge': true, // display text on popup menu icon
|
'show-badge': true, // display text on popup menu icon
|
||||||
'disableAll': false, // boss key
|
'disableAll': false, // boss key
|
||||||
'exposeIframes': false, // Add 'stylus-iframe' attribute to HTML element in all iframes
|
'exposeIframes': false, // Add 'stylus-iframe' attribute to HTML element in all iframes
|
||||||
'newStyleInUsercss': false, // create new style in usercss format
|
'newStyleAsUsercss': false, // create new style in usercss format
|
||||||
|
|
||||||
'popup.breadcrumbs': true, // display 'New style' links as URL breadcrumbs
|
'popup.breadcrumbs': true, // display 'New style' links as URL breadcrumbs
|
||||||
'popup.breadcrumbs.usePath': false, // use URL path for 'this URL'
|
'popup.breadcrumbs.usePath': false, // use URL path for 'this URL'
|
||||||
|
|
|
@ -124,9 +124,9 @@
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
<span i18n-text="optionsAdvancedNewStyleInUsercss"></span>
|
<span i18n-text="optionsAdvancedNewStyleAsUsercss"></span>
|
||||||
<span class="onoffswitch">
|
<span class="onoffswitch">
|
||||||
<input type="checkbox" id="newStyleInUsercss">
|
<input type="checkbox" id="newStyleAsUsercss">
|
||||||
<span></span>
|
<span></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user