bug fix from prev commit

This commit is contained in:
2019-12-03 19:07:22 +01:00
parent 1081ca49a6
commit 2e73cacb27
2 changed files with 9 additions and 2 deletions
@@ -2132,7 +2132,13 @@
if(typeof pop_state == "undefined" || !pop_state){
console.log('backToFrontPage push state');
history.pushState({home:true}, null, _base_url+drupalSettings.path.currentLanguage);
state = {
home:true,
context:"home",
caller:null
}
_states_history.unshift(state);
history.pushState(state, null, _base_url+drupalSettings.path.currentLanguage);
}
}