mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Allow UI context to update when selection is from 0"
This commit is contained in:
commit
ecbb941038
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue