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:
Catrope 2014-11-05 01:12:54 +00:00 committed by Roan Kattouw
parent 711d3629dd
commit c8396eb65f

View file

@ -336,9 +336,6 @@ ve.init.mw.ViewPageTarget.prototype.cancel = function () {
this.showPageContent();
this.restorePageTitle();
// Clear the selection; needed in Firefox for bug 71852
window.getSelection().removeAllRanges();
// If there is a load in progress, abort it
if ( this.loading ) {
this.loading.abort();