mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
(bug 42801) Fixed by re-adding calls to disableRendering() (used to be lock()) and enableRendering() (used to be unlock()) - deleted accidentally in commit: 9c74c97808
Change-Id: Ia91a572c94cc3e9a81148b1484fc567941fa7c3e
This commit is contained in:
parent
0cf34e02a4
commit
6abd1c950c
|
@ -288,7 +288,9 @@ ve.ce.Surface.prototype.onContentChange = function ( node, previous, next ) {
|
|||
* @method
|
||||
*/
|
||||
ve.ce.Surface.prototype.onSelectionChange = function ( oldRange, newRange ) {
|
||||
this.disableRendering();
|
||||
this.model.change( null, newRange );
|
||||
this.enableRendering();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue