mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Add safe-guard for early template dialog resize events"
This commit is contained in:
commit
131f7e940d
|
@ -647,7 +647,7 @@ ve.ui.MWTransclusionDialog.prototype.getSetupProcess = function ( data ) {
|
|||
* @private
|
||||
*/
|
||||
ve.ui.MWTransclusionDialog.prototype.onWindowResize = function () {
|
||||
if ( !this.ignoreNextWindowResizeEvent ) {
|
||||
if ( this.transclusionModel && !this.ignoreNextWindowResizeEvent ) {
|
||||
this.autoExpandSidebar();
|
||||
}
|
||||
this.ignoreNextWindowResizeEvent = false;
|
||||
|
|
Loading…
Reference in a new issue