mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 14:06:52 +00:00
Merge "ArticleTargetSaver: Use mw.deflateAsync"
This commit is contained in:
commit
2aca9f32e1
|
@ -33,7 +33,7 @@
|
|||
* @return {jQuery.Promise} Promise resolved with deflated HTML
|
||||
*/
|
||||
deflate: function ( html ) {
|
||||
return mw.loader.using( 'mediawiki.deflate' ).then( () => mw.deflate( html ) );
|
||||
return mw.loader.using( 'mediawiki.deflate' ).then( () => mw.deflateAsync( html ) );
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue