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