Merge "Allow UI context to update when selection is from 0"

This commit is contained in:
jenkins-bot 2013-06-21 19:39:57 +00:00 committed by Gerrit Code Review
commit ecbb941038

View file

@ -78,9 +78,6 @@ ve.inheritClass( ve.ui.Context, ve.Element );
* @param {ve.Range} selection Change selection
*/
ve.ui.Context.prototype.onChange = function ( transactions, selection ) {
if ( selection && selection.start === 0 ) {
return;
}
if ( selection && !this.selecting && !this.draggingAndDropping ) {
this.update();
}