Skip to content

Commit ee90625

Browse files
committed
Fix mistake in getScrollInfo
1 parent df20607 commit ee90625

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
@@ -333,7 +333,7 @@ var CodeMirror = (function() {
333333
},
334334
getScrollInfo: function() {
335335
return {x: scroller.scrollLeft, y: scrollbar.scrollTop,
336-
height: scroller.scrollHeight, width: scroller.scrollWidth};
336+
height: scrollbar.scrollHeight, width: scroller.scrollWidth};
337337
},
338338

339339
operation: function(f){return operation(f)();},

0 commit comments

Comments
 (0)