commit
ac1585b316
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -35,4 +35,11 @@ import { registerAppsSlideToggle } from './OC/apps'
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
initCore()
|
initCore()
|
||||||
registerAppsSlideToggle()
|
registerAppsSlideToggle()
|
||||||
|
|
||||||
|
// fallback to hashchange when no history support
|
||||||
|
if (window.history.pushState) {
|
||||||
|
window.onpopstate = _.bind(OC.Util.History._onPopState, OC.Util.History)
|
||||||
|
} else {
|
||||||
|
$(window).on('hashchange', _.bind(OC.Util.History._onPopState, OC.Util.History))
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue