mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-09-29 13:17:35 +00:00
Merge "Fix IE9 history navigation"
This commit is contained in:
commit
f5a6d67749
|
@ -355,7 +355,7 @@
|
|||
MMVB.setupEventHandlers = function () {
|
||||
var self = this;
|
||||
|
||||
$( window ).on( this.browserHistory ? 'popstate.mmvb' : 'hashchange', function () {
|
||||
$( window ).on( this.browserHistory && this.browserHistory.pushState ? 'popstate.mmvb' : 'hashchange', function () {
|
||||
self.hash();
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in a new issue