diff --git a/js/script.js b/js/script.js index 0fc35de..fc79c2f 100644 --- a/js/script.js +++ b/js/script.js @@ -358,7 +358,7 @@ class Help { } } - _buildAndAppendLists(mode) { + _buildAndAppendLists() { const lists = document.createElement('ul'); lists.classList.add('categories'); @@ -367,7 +367,7 @@ class Help { 'beforeend', `
  • ${category}

    - +
  • ` ); }); @@ -375,7 +375,7 @@ class Help { this._el.appendChild(lists); } - _buildListCommands(currentCategory, mode) { + _buildListCommands(currentCategory) { let invertValue = this._invertColors ? 1: 0; const bgcolor = invertValue ? getComputedStyle(document.documentElement).getPropertyValue('--foreground')