We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ce5f6f commit a5d9534Copy full SHA for a5d9534
js/playfield.js
@@ -168,8 +168,8 @@ window.addEventListener("load", function(){
168
});
169
170
window.addEventListener("keypress", function(){
171
- var next = document.getElementsByClassName("next-page").href;
172
- if (!(!next | next.length === 0)) {
+ var next = document.getElementsByClassName("next-page")[0].href;
+ if (!(undefined === next | !next | next.length === 0)) {
173
window.location.href = next;
174
}
175
0 commit comments