mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Bug 36200 - VisualEditor: Sticky selection popup
Clearing context icon when editor loses focus. -Reproduce problem by selecting text, then click outside of the editor. Selection is lost, and context icon is stuck. Change-Id: I4b321f16cea73ec0e51540c0e71f265ab47514e9
This commit is contained in:
parent
065bb50369
commit
c656f831d1
|
@ -106,6 +106,9 @@ ve.ce.Surface.prototype.documentOnBlur = function() {
|
|||
|
||||
this.$document.off( '.ve-ce-Surface' );
|
||||
this.stopPolling();
|
||||
if ( this.contextView ) {
|
||||
this.contextView.clear();
|
||||
}
|
||||
};
|
||||
|
||||
ve.ce.Surface.prototype.onMouseDown = function( e ) {
|
||||
|
|
Loading…
Reference in a new issue