Change: delete priority

This commit is contained in:
eight04 2021-12-07 00:04:09 +08:00
parent 94737feb78
commit a7a58c9037
3 changed files with 0 additions and 9 deletions

View File

@ -1664,9 +1664,6 @@
"styleExcludeNewLabel": {
"message": "Add new exclusion"
},
"stylePriorityLabel": {
"message": "Priority"
},
"syncDropboxDeprecated": {
"message": "Dropbox import/export is replaced by a more advanced style sync in the options page."
},

View File

@ -479,10 +479,6 @@
<div class="rule-table"></div>
<button i18n-text="styleExcludeNewLabel" class="add-rule"></button>
</div>
<div class="form-group style-priority">
<div class="form-label" i18n-text="stylePriorityLabel"></div>
<input type="number">
</div>
<!-- <label class="style-always-important">
<input type="checkbox">
<span class="form-label" i18n-text="styleAlwaysImportantLabel"></span>

View File

@ -10,8 +10,6 @@ function StyleSettings(editor) {
e => API.styles.config(style.id, 'updateUrl', e.target.value)),
createRadio('.style-prefer-scheme input', () => style.preferScheme || 'none',
e => API.styles.config(style.id, 'preferScheme', e.target.value)),
createInput('.style-priority input', () => style.priority || 0,
e => API.styles.config(style.id, 'priority', e.target.valueAsNumber)),
createRuleTable(document.querySelector('.style-include'), 'inclusions'),
createRuleTable(document.querySelector('.style-exclude'), 'exclusions'),
];