don't show reset-name on local classic styles
This commit is contained in:
parent
a34fe5f400
commit
79ada00a01
|
@ -132,7 +132,7 @@ function EditorHeader() {
|
||||||
nameEl.title = isCustomName ? t('customNameHint') : '';
|
nameEl.title = isCustomName ? t('customNameHint') : '';
|
||||||
nameEl.on('input', () => {
|
nameEl.on('input', () => {
|
||||||
editor.updateName(true);
|
editor.updateName(true);
|
||||||
resetEl.hidden = false;
|
resetEl.hidden = !editor.style.customName;
|
||||||
});
|
});
|
||||||
resetEl.hidden = !editor.style.customName;
|
resetEl.hidden = !editor.style.customName;
|
||||||
resetEl.onclick = () => {
|
resetEl.onclick = () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user