Unbreak VE

Follow-up to I13058ae1

Change-Id: Icb30f87746bea3911379fca9766877a36e8b5975
This commit is contained in:
Alex Monk 2016-02-13 00:58:39 +00:00
parent 685bacc990
commit 1c1d018bc7

View file

@ -206,15 +206,13 @@
modified modified
); );
} ) } )
.then( .done( function () {
function () {
incrementLoadingProgress(); incrementLoadingProgress();
}, } )
function () { .fail( function () {
hideLoading(); hideLoading();
resetLoadingProgress(); resetLoadingProgress();
} } );
);
setEditorPreference( 'visualeditor' ); setEditorPreference( 'visualeditor' );