From 548b4c5e9a7adf581c3c7c75a3b6e3d9e0a1f682 Mon Sep 17 00:00:00 2001 From: janis Date: Tue, 29 Nov 2022 19:29:38 +0100 Subject: [PATCH] fixed the errors in check --- js/impress.js | 4 ++-- src/plugins/impressConsole/impressConsole.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/impress.js b/js/impress.js index 49f15d6..c0c5b95 100644 --- a/js/impress.js +++ b/js/impress.js @@ -2565,10 +2565,10 @@ ( function( document, window ) { 'use strict'; - var notes = window.document.getElementsByClassName("notes") + var notes = window.document.getElementsByClassName('notes'); for (let items in Object.entries(notes).values) { - items.style.display = "none" + items.style.display = 'none'; } // TODO: Move this to src/lib/util.js diff --git a/src/plugins/impressConsole/impressConsole.js b/src/plugins/impressConsole/impressConsole.js index 293c89e..2715244 100644 --- a/src/plugins/impressConsole/impressConsole.js +++ b/src/plugins/impressConsole/impressConsole.js @@ -16,10 +16,10 @@ ( function( document, window ) { 'use strict'; - var notes = window.document.getElementsByClassName("notes") + var notes = window.document.getElementsByClassName('notes'); for (let items in Object.entries(notes).values) { - items.style.display = "none" + items.style.display = 'none'; } // TODO: Move this to src/lib/util.js