Browse Source

Change accordion mount.

master
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() {
console.log("mounted");
setTimeout(() => $('.ui.accordion').accordion(), 500);
$(document).ready(() => $('.ui.accordion').accordion());
},
updated() {
console.log("updated");
$('.ui.accordion').accordion("refresh");
}
});

Loading…
Cancel
Save