summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/codeq/prolog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js
index f2f060f..52bdec5 100644
--- a/js/codeq/prolog.js
+++ b/js/codeq/prolog.js
@@ -150,7 +150,7 @@
switch (c) {
case ' ':
case ';':
- case '\n':
+ case 'n':
return ';'; // show next answer on space, semicolon or enter
default:
return '.'; // everything else: stop searching for answers