Skip to content

Commit

Permalink
spaces_operators
Browse files Browse the repository at this point in the history
  • Loading branch information
kaurjasleen240305 committed Jan 7, 2024
1 parent 6520a6d commit b45727a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/widgets/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class HelpWidget {

let leftArrow, rightArrow;
if (!useActiveBlock) {
if (page==0) {
if (page == 0) {
this.widgetWindow.updateTitle("TAKE A TOUR");
}
else {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit b45727a

Please sign in to comment.