summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-15 20:19:59 +0200
committerAleš Smodiš <aless@guru.si>2015-09-15 20:19:59 +0200
commite481326ffd15c7dd7f9878cc9f4f94b41021ac1a (patch)
treeba6ef66cc88be039927c851abbf3949843be6bf5
parent3c02044761366fe474c7bf8cb5ba7307960c788c (diff)
Bugfix: leftmostCol was not correctly referenced.
-rw-r--r--js/codeq/console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/console.js b/js/codeq/console.js
index 41aae40..90b66cd 100644
--- a/js/codeq/console.js
+++ b/js/codeq/console.js
@@ -573,7 +573,7 @@
.then((function (newLine, lineIndex) {return function () {
var cookedChars = lineIndex < lastLineIndex ? newLine + '\n' : newLine, // default
thisRow = currentRow,
- leftmost = typeof this.leftmostCol === 'number' && this.leftmostCol || 0,
+ leftmost = typeof handler.leftmostCol === 'number' && handler.leftmostCol || 0,
dh;
// first cook the input