Skip to content

Commit

Permalink
Fix undefined variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jackycute committed Sep 18, 2016
1 parent 9b5856f commit 21afa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 21afa2d

Please sign in to comment.