mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +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 ) {
|
if ( offset >= index && offset <= index + length ) {
|
||||||
node = item;
|
node = item;
|
||||||
localOffset = offset - index;
|
localOffset = offset - index;
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
index += length;
|
index += length;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue