Skip to content

Commit

Permalink
widgetsSeen is no longer an array
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsanjose authored and marijnh committed Feb 1, 2013
1 parent 41d6267 commit 7ae4ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codemirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ window.CodeMirror = (function() {
if (i == line.widgets.length) { isOk = false; break; }
}
}
if (isOk && widgetsSeen.length == line.widgets.length) {
if (isOk && widgetsSeen == line.widgets.length) {
wrap = reuse;
reuse.className = line.wrapClass || "";
}
Expand Down

0 comments on commit 7ae4ba6

Please sign in to comment.