|
@@ -128,7 +128,7 @@
|
|
|
const noteElement = templateElement.querySelector("." + NOTE_CLASS);
|
|
const noteElement = templateElement.querySelector("." + NOTE_CLASS);
|
|
|
if (noteElement) {
|
|
if (noteElement) {
|
|
|
noteElement.classList.remove(NOTE_HIDDEN_CLASS);
|
|
noteElement.classList.remove(NOTE_HIDDEN_CLASS);
|
|
|
- const mainElement = noteElement.querySelector("main");;
|
|
|
|
|
|
|
+ const mainElement = noteElement.querySelector("main");
|
|
|
if (mainElement) {
|
|
if (mainElement) {
|
|
|
delete mainElement.contentEditable;
|
|
delete mainElement.contentEditable;
|
|
|
}
|
|
}
|