Skip to content

Commit fdf78f7

Browse files
committed
Fix typo (lenght)
1 parent ebcd76e commit fdf78f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codemirror.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,7 @@ window.CodeMirror = (function() {
23712371

23722372
function removeMarkedSpan(spans, span) {
23732373
var r;
2374-
for (var i = 0; i < spans.lenght; ++i)
2374+
for (var i = 0; i < spans.length; ++i)
23752375
if (spans[i] == span) (r || (r = [])).push(spans[i]);
23762376
return r;
23772377
}

0 commit comments

Comments
 (0)