mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Start polling in async mode after document node is focused
This commit is contained in:
parent
9f1885bc4b
commit
fc138f3497
|
@ -84,7 +84,7 @@ ve.ce.Surface.prototype.documentOnFocus = function() {
|
||||||
'mousedown.ve-ce-Surface': ve.proxy( this.onMouseDown, this ),
|
'mousedown.ve-ce-Surface': ve.proxy( this.onMouseDown, this ),
|
||||||
'mouseup.ve-ce-Surface': ve.proxy( this.onMouseUp, this ),
|
'mouseup.ve-ce-Surface': ve.proxy( this.onMouseUp, this ),
|
||||||
} );
|
} );
|
||||||
this.startPolling();
|
this.startPolling( true );
|
||||||
};
|
};
|
||||||
|
|
||||||
ve.ce.Surface.prototype.documentOnBlur = function() {
|
ve.ce.Surface.prototype.documentOnBlur = function() {
|
||||||
|
|
Loading…
Reference in a new issue