Removed some console.logs that weren't hiding behind if
This commit is contained in:
parent
32e5ed365b
commit
b83b46577b
@ -1,7 +1,5 @@
|
|||||||
class BaseElement {
|
class BaseElement {
|
||||||
constructor(id, label, onClick, additionalClasses, existingElement) {
|
constructor(id, label, onClick, additionalClasses, existingElement) {
|
||||||
console.log("additional classes", additionalClasses)
|
|
||||||
|
|
||||||
if (existingElement) {
|
if (existingElement) {
|
||||||
this.element = existingElement;
|
this.element = existingElement;
|
||||||
} else {
|
} else {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
class Button extends BaseElement {
|
class Button extends BaseElement {
|
||||||
constructor(id, label, onClick, additionalClasses) {
|
constructor(id, label, onClick, additionalClasses) {
|
||||||
console.log("additional classes", additionalClasses)
|
|
||||||
|
|
||||||
super(
|
super(
|
||||||
id,
|
id,
|
||||||
label,
|
label,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
class ShortcutButton extends Button {
|
class ShortcutButton extends Button {
|
||||||
constructor(id, label, shortcutLabel, onClick, additionalClasses) {
|
constructor(id, label, shortcutLabel, onClick, additionalClasses) {
|
||||||
console.log("additional classes -- sb", additionalClasses)
|
|
||||||
super(
|
super(
|
||||||
id,
|
id,
|
||||||
`${label}<br/><span class="smallcaps small darker">(${shortcutLabel})`,
|
`${label}<br/><span class="smallcaps small darker">(${shortcutLabel})`,
|
||||||
|
Loading…
Reference in New Issue
Block a user