Explorar o código

removed obsolete code

Former-commit-id: 0184d1e42271d2fece726a4f0fb5da111fee7fae
Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
9fff33a4bf
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      extension/ui/content/content-ui-editor-web.js

+ 0 - 4
extension/ui/content/content-ui-editor-web.js

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