mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
MWSaveDialog: Fix typo in no-categories branch
Bug: T195323 Change-Id: I7d22b6cad363a240660563554e4578621f7966d0
This commit is contained in:
parent
5330e42dc7
commit
ccb766e933
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue