Linter fixes

This commit is contained in:
Mouse Reeve 2021-06-08 12:42:45 -07:00
parent eb12506985
commit e65bc09e7a
2 changed files with 4 additions and 3 deletions

View file

@ -183,6 +183,7 @@ let BookWyrm = new class {
if (focus) {
this.toggleFocus(focus);
}
return false;
}

View file

@ -17,7 +17,7 @@ let LocalStorageTools = new class {
* @return {undefined}
*/
updateDisplay(event) {
// used in set reading goal
// Used in set reading goal
let key = event.target.dataset.id;
let value = event.target.dataset.value;
@ -34,10 +34,10 @@ let LocalStorageTools = new class {
* @return {undefined}
*/
setDisplay(node) {
// used in set reading goal
// Used in set reading goal
let key = node.dataset.hide;
let value = window.localStorage.getItem(key);
BookWyrm.addRemoveClass(node, 'is-hidden', value);
}
}
}();