Small fixes regarding pjax and animation
This commit is contained in:
@@ -27,10 +27,9 @@ const animation = (steps) => {
|
||||
}
|
||||
|
||||
const initDetails = (element, fromPjax) => {
|
||||
console.log('app');
|
||||
// if (fromPjax !== true) {
|
||||
// return;
|
||||
// }
|
||||
if (fromPjax !== true) {
|
||||
return;
|
||||
}
|
||||
|
||||
element.classList.add('animate');
|
||||
element.classList.add('animate--curtain');
|
||||
|
||||
Reference in New Issue
Block a user