From b83b46577b1bdf803943f3a549ce327f65651a43 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 18 Nov 2018 03:30:43 +0100 Subject: [PATCH] Removed some console.logs that weren't hiding behind if --- js/lib/libghettoui/BaseElement.js | 2 -- js/lib/libghettoui/buttons/Button.js | 2 -- js/lib/libghettoui/buttons/ShortcutButton.js | 1 - 3 files changed, 5 deletions(-) diff --git a/js/lib/libghettoui/BaseElement.js b/js/lib/libghettoui/BaseElement.js index 5ab6124..eda6638 100644 --- a/js/lib/libghettoui/BaseElement.js +++ b/js/lib/libghettoui/BaseElement.js @@ -1,7 +1,5 @@ class BaseElement { constructor(id, label, onClick, additionalClasses, existingElement) { - console.log("additional classes", additionalClasses) - if (existingElement) { this.element = existingElement; } else { diff --git a/js/lib/libghettoui/buttons/Button.js b/js/lib/libghettoui/buttons/Button.js index ef0e8dc..2788216 100644 --- a/js/lib/libghettoui/buttons/Button.js +++ b/js/lib/libghettoui/buttons/Button.js @@ -1,7 +1,5 @@ class Button extends BaseElement { constructor(id, label, onClick, additionalClasses) { - console.log("additional classes", additionalClasses) - super( id, label, diff --git a/js/lib/libghettoui/buttons/ShortcutButton.js b/js/lib/libghettoui/buttons/ShortcutButton.js index 2753802..d238f16 100644 --- a/js/lib/libghettoui/buttons/ShortcutButton.js +++ b/js/lib/libghettoui/buttons/ShortcutButton.js @@ -1,6 +1,5 @@ class ShortcutButton extends Button { constructor(id, label, shortcutLabel, onClick, additionalClasses) { - console.log("additional classes -- sb", additionalClasses) super( id, `${label}
(${shortcutLabel})`,