diff --git a/js/widgets/help.js b/js/widgets/help.js index f62ccfb7ba..245ff0d3ea 100644 --- a/js/widgets/help.js +++ b/js/widgets/help.js @@ -91,7 +91,7 @@ class HelpWidget { let leftArrow, rightArrow; if (!useActiveBlock) { - if (page==0) { + if (page == 0) { this.widgetWindow.updateTitle("TAKE A TOUR"); } else { @@ -121,7 +121,7 @@ class HelpWidget { if (page > 0){ page = page - 1; leftArrow.classList.remove('disabled'); - if (page==0) { + if (page == 0) { this.widgetWindow.updateTitle("TAKE A TOUR"); } else { @@ -154,7 +154,7 @@ class HelpWidget { if (this.activity.blocks.activeBlock.name !== null) { const label = this.activity.blocks.blockList[this.activity.blocks.activeBlock] .protoblock.staticLabels[0]; - if (page==0) { + if (page == 0) { this.widgetWindow.updateTitle("TAKE A TOUR"); } else { @@ -372,7 +372,7 @@ class HelpWidget { if (page === HELPCONTENT.length) { page = 0; } - if (page==0) { + if (page == 0) { this.widgetWindow.updateTitle("TAKE A TOUR"); } else { @@ -474,7 +474,7 @@ class HelpWidget { cell = docById("left-arrow"); cell.onclick = () => { - if (this.index==0) { + if (this.index == 0) { const widgetWindow = window.widgetWindows.windowFor(this, "help", "help"); this.widgetWindow = widgetWindow; widgetWindow.clear();