diff --git a/js/impress.js b/js/impress.js index 6a865c8..49f15d6 100644 --- a/js/impress.js +++ b/js/impress.js @@ -2565,6 +2565,12 @@ ( function( document, window ) { 'use strict'; + var notes = window.document.getElementsByClassName("notes") + + for (let items in Object.entries(notes).values) { + items.style.display = "none" + } + // TODO: Move this to src/lib/util.js var triggerEvent = function( el, eventName, detail ) { var event = document.createEvent( 'CustomEvent' ); diff --git a/src/plugins/impressConsole/impressConsole.js b/src/plugins/impressConsole/impressConsole.js index c00ee67..293c89e 100644 --- a/src/plugins/impressConsole/impressConsole.js +++ b/src/plugins/impressConsole/impressConsole.js @@ -16,6 +16,12 @@ ( function( document, window ) { 'use strict'; + var notes = window.document.getElementsByClassName("notes") + + for (let items in Object.entries(notes).values) { + items.style.display = "none" + } + // TODO: Move this to src/lib/util.js var triggerEvent = function( el, eventName, detail ) { var event = document.createEvent( 'CustomEvent' );