Browse Source

Change accordion mount.

pull/6/head
t123yh 7 years ago
parent
commit
7089c3486a
  1. 4
      views/submission_content.ejs

4
views/submission_content.ejs

@ -197,11 +197,9 @@ const vueApp = new Vue({
} }
}, },
mounted() { mounted() {
console.log("mounted"); $(document).ready(() => $('.ui.accordion').accordion());
setTimeout(() => $('.ui.accordion').accordion(), 500);
}, },
updated() { updated() {
console.log("updated");
$('.ui.accordion').accordion("refresh"); $('.ui.accordion').accordion("refresh");
} }
}); });

Loading…
Cancel
Save