Small fixes regarding pjax and animation

This commit is contained in:
Tom Raithel
2017-02-15 08:42:52 +01:00
parent 335e01f5e1
commit cdaa958118
3 changed files with 11 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import Vue from 'vue';
import applyPjax from './pjax';
const initFilter = element => {
const initFilter = (element) => {
const index = JSON.parse(element.getAttribute('data-index'));
const filter = new Vue({
@@ -26,7 +26,7 @@ const initFilter = element => {
return visibleItems.length > 0;
},
},
created() {
mounted() {
applyPjax();
},
updated() {