Improved "notes" hiding
This commit is contained in:
@@ -2565,6 +2565,12 @@
|
|||||||
( function( document, window ) {
|
( function( document, window ) {
|
||||||
'use strict';
|
'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
|
// TODO: Move this to src/lib/util.js
|
||||||
var triggerEvent = function( el, eventName, detail ) {
|
var triggerEvent = function( el, eventName, detail ) {
|
||||||
var event = document.createEvent( 'CustomEvent' );
|
var event = document.createEvent( 'CustomEvent' );
|
||||||
|
|||||||
@@ -16,6 +16,12 @@
|
|||||||
( function( document, window ) {
|
( function( document, window ) {
|
||||||
'use strict';
|
'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
|
// TODO: Move this to src/lib/util.js
|
||||||
var triggerEvent = function( el, eventName, detail ) {
|
var triggerEvent = function( el, eventName, detail ) {
|
||||||
var event = document.createEvent( 'CustomEvent' );
|
var event = document.createEvent( 'CustomEvent' );
|
||||||
|
|||||||
Reference in New Issue
Block a user