mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 09:26:37 +00:00
Fix showCursorAt method - missing "break;"
This commit is contained in:
parent
63224918c7
commit
acd819b28b
Notes:
Gabriel Wicke
2012-02-27 16:40:01 +00:00
|
@ -272,6 +272,7 @@ ve.es.Surface.prototype.showCursorAt = function( offset ) {
|
|||
if ( offset >= index && offset <= index + length ) {
|
||||
node = item;
|
||||
localOffset = offset - index;
|
||||
break;
|
||||
} else {
|
||||
index += length;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue