From 1ac10df5e3569cd0ad9beae27886de52ca96ec57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zen=C3=A7=20Bilgili?= Date: Fri, 17 Jan 2020 23:13:56 +0300 Subject: [PATCH] Small fix --- js/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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')