fix call pjax.onSwitch
This commit is contained in:
@@ -131,10 +131,7 @@ export default class {
|
||||
if(isDebug) {
|
||||
console.log('---- Next view loaded 👌 -----');
|
||||
}
|
||||
this.transition.hideView(oldView, newView);
|
||||
|
||||
this.pjax.onSwitch();
|
||||
|
||||
this.transition.hideView(oldView, newView);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -180,6 +177,8 @@ export default class {
|
||||
isPjax: true
|
||||
});
|
||||
|
||||
this.pjax.onSwitch();
|
||||
|
||||
this.transition.displayView(view);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user