diff --git a/resources/mmv/mmv.bootstrap.js b/resources/mmv/mmv.bootstrap.js index 57589eb70..64c45f51b 100644 --- a/resources/mmv/mmv.bootstrap.js +++ b/resources/mmv/mmv.bootstrap.js @@ -486,6 +486,7 @@ if ( this.viewer === undefined ) { this.viewer = new mw.mmv.MultimediaViewer( mw.config ); this.viewer.setupEventHandlers(); + mw.mmv.viewer = this.viewer; } return this.viewer;