Improved "notes" hiding
This commit is contained in:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user