MWSaveDialog: Fix typo in no-categories branch

Bug: T195323
Change-Id: I7d22b6cad363a240660563554e4578621f7966d0
This commit is contained in:
Ed Sanders 2018-05-23 11:18:54 +01:00
parent 5330e42dc7
commit ccb766e933

View file

@ -274,7 +274,7 @@ ve.ui.MWSaveDialog.prototype.showPreview = function ( docOrMsg, baseDoc ) {
ve.init.platform.linkCache.styleParsoidElements( $categories, baseDoc );
} );
} else {
deferred = $.Deferred.resolve();
deferred = $.Deferred().resolve();
}
deferred.done( function () {
// Run hooks so other things can alter the document