Change: x -> Delete
This commit is contained in:
parent
c0fd7c53b7
commit
b1d7abf503
|
@ -1655,6 +1655,9 @@
|
|||
"styleIncludeNewLabel": {
|
||||
"message": "Add new inclusion rule"
|
||||
},
|
||||
"styleIncludeDeleteLabel": {
|
||||
"message": "Delete"
|
||||
},
|
||||
"styleExcludeLabel": {
|
||||
"message": "User defined exclusion"
|
||||
},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* global API */
|
||||
/* global API t */
|
||||
/* exported StyleSettings */
|
||||
'use strict';
|
||||
|
||||
|
@ -79,7 +79,7 @@ function StyleSettings(editor) {
|
|||
table.append(input);
|
||||
|
||||
const delButton = document.createElement('button');
|
||||
delButton.textContent = 'x';
|
||||
delButton.textContent = t('styleIncludeDeleteLabel');
|
||||
delButton.addEventListener('click', () => {
|
||||
style[type].splice(i, 1);
|
||||
API.styles.config(style.id, type, style[type]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user