diff options
author | Wu Cheng-Han | 2016-09-18 17:05:55 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-09-18 17:05:55 +0800 |
commit | 21afa2de14bec4b4eb08f5e58d884753b510dfb9 (patch) | |
tree | 91e649418e2edfab986406aac403c7a2ab2253bd | |
parent | 9b5856fff0e089ef97a2b2f60c1b3a94b01852f3 (diff) |
Fix undefined variable typo
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index 0a4395ee..bbb0d3be 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1691,7 +1691,7 @@ function selectRevision(time) { // mark the text which have been insert or delete if (revision.patch.length > 0) { var bias = 0; - for (j = 0; j < revision.patch.length; j++) { + for (var j = 0; j < revision.patch.length; j++) { var patch = revision.patch[j]; var currIndex = patch.start1 + bias; for (var i = 0; i < patch.diffs.length; i++) { |