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