mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 19:26:46 +00:00
Revert "Clear selection after tearing down surface to work around Firefox bug"
Superseded by I051ef92eeea9 in VE core.
This reverts commit d68eae6c8d
.
Change-Id: Ie5e0a6169cfe3634e20a3b88e8aeb980b4094e10
This commit is contained in:
parent
711d3629dd
commit
c8396eb65f
|
@ -336,9 +336,6 @@ ve.init.mw.ViewPageTarget.prototype.cancel = function () {
|
||||||
this.showPageContent();
|
this.showPageContent();
|
||||||
this.restorePageTitle();
|
this.restorePageTitle();
|
||||||
|
|
||||||
// Clear the selection; needed in Firefox for bug 71852
|
|
||||||
window.getSelection().removeAllRanges();
|
|
||||||
|
|
||||||
// If there is a load in progress, abort it
|
// If there is a load in progress, abort it
|
||||||
if ( this.loading ) {
|
if ( this.loading ) {
|
||||||
this.loading.abort();
|
this.loading.abort();
|
||||||
|
|
Loading…
Reference in a new issue