diff --git a/resources/mmv/mmv.bootstrap.js b/resources/mmv/mmv.bootstrap.js index 8ace3d817..3016da5a4 100755 --- a/resources/mmv/mmv.bootstrap.js +++ b/resources/mmv/mmv.bootstrap.js @@ -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(); } );