disable #save button right after opening a style
This commit is contained in:
parent
4b4b65d961
commit
5df76b04e2
|
@ -10,6 +10,7 @@ function createSourceEditor(style) {
|
||||||
let savedGeneration = 0;
|
let savedGeneration = 0;
|
||||||
|
|
||||||
$('#name').disabled = true;
|
$('#name').disabled = true;
|
||||||
|
$('#save-button').disabled = true;
|
||||||
$('#mozilla-format-container').remove();
|
$('#mozilla-format-container').remove();
|
||||||
$('#sections').textContent = '';
|
$('#sections').textContent = '';
|
||||||
$('#sections').appendChild($create('.single-editor'));
|
$('#sections').appendChild($create('.single-editor'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user