Skip to content

Commit 4185a02

Browse files
committed
Fix lotto bugs caused by last commit
1 parent 7ca0be6 commit 4185a02

19 files changed

Lines changed: 38 additions & 19 deletions

lesson10.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@
162162
document.getElementById("reset").style.opacity = "0.4"
163163
document.getElementById("reset").style.cursor = "not-allowed"
164164
}
165-
else if (currentValue === window.initialHTML) {
165+
else {
166+
166167
document.getElementById("reset").style.opacity = "1"
167168
document.getElementById("reset").style.cursor = "default"
168169
}

lesson11.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@
126126
document.getElementById("reset").style.opacity = "0.4"
127127
document.getElementById("reset").style.cursor = "not-allowed"
128128
}
129-
else if (currentValue === window.initialHTML) {
129+
else {
130+
130131
document.getElementById("reset").style.opacity = "1"
131132
document.getElementById("reset").style.cursor = "default"
132133
}

lesson12.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@
164164
document.getElementById("reset").style.opacity = "0.4"
165165
document.getElementById("reset").style.cursor = "not-allowed"
166166
}
167-
else if (currentValue === window.initialHTML) {
167+
else {
168+
168169
document.getElementById("reset").style.opacity = "1"
169170
document.getElementById("reset").style.cursor = "default"
170171
}

lesson13.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@
164164
document.getElementById("reset").style.opacity = "0.4"
165165
document.getElementById("reset").style.cursor = "not-allowed"
166166
}
167-
else if (currentValue === window.initialHTML) {
167+
else {
168+
168169
document.getElementById("reset").style.opacity = "1"
169170
document.getElementById("reset").style.cursor = "default"
170171
}

lesson14.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@
162162
document.getElementById("reset").style.opacity = "0.4"
163163
document.getElementById("reset").style.cursor = "not-allowed"
164164
}
165-
else if (currentValue === window.initialHTML) {
165+
else {
166+
166167
document.getElementById("reset").style.opacity = "1"
167168
document.getElementById("reset").style.cursor = "default"
168169
}

lesson16.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@
172172
document.getElementById("reset").style.opacity = "0.4"
173173
document.getElementById("reset").style.cursor = "not-allowed"
174174
}
175-
else if (currentValue === window.initialHTML) {
175+
else {
176+
176177
document.getElementById("reset").style.opacity = "1"
177178
document.getElementById("reset").style.cursor = "default"
178179
}

lesson17.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@
162162
document.getElementById("reset").style.opacity = "0.4"
163163
document.getElementById("reset").style.cursor = "not-allowed"
164164
}
165-
else if (currentValue === window.initialHTML) {
165+
else {
166+
166167
document.getElementById("reset").style.opacity = "1"
167168
document.getElementById("reset").style.cursor = "default"
168169
}

lesson18.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@
194194
document.getElementById("reset").style.opacity = "0.4"
195195
document.getElementById("reset").style.cursor = "not-allowed"
196196
}
197-
else if (currentValue === window.initialHTML) {
197+
else {
198+
198199
document.getElementById("reset").style.opacity = "1"
199200
document.getElementById("reset").style.cursor = "default"
200201
}

lesson19.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@
164164
document.getElementById("reset").style.opacity = "0.4"
165165
document.getElementById("reset").style.cursor = "not-allowed"
166166
}
167-
else if (currentValue === window.initialHTML) {
167+
else {
168+
168169
document.getElementById("reset").style.opacity = "1"
169170
document.getElementById("reset").style.cursor = "default"
170171
}

lesson2.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@
190190
document.getElementById("reset").style.opacity = "0.4"
191191
document.getElementById("reset").style.cursor = "not-allowed"
192192
}
193-
else if (currentValue === window.initialHTML) {
193+
else {
194+
194195
document.getElementById("reset").style.opacity = "1"
195196
document.getElementById("reset").style.cursor = "default"
196197
}

0 commit comments

Comments
 (0)