4 .col-sm-12.col-md-8.col-md-offset-2.col-lg-6.col-lg-offset-3
5 div#faqDiv(v-html="content")
9 import { store } from "@/store";
13 return { st: store.state };
17 // (AJAX) Request to get FAQ content (plain text, HTML)
19 require("raw-loader!@/translations/faq/" + this.st.lang + ".pug")
20 // Next two lines fix a weird issue after last update (2019-11)
23 .replace('module.exports = "', "")
29 this.re_setListeners();
32 this.re_setListeners();
35 re_setListeners: function() {
36 document.querySelectorAll(".answer").forEach(a => {
37 a.style.display = "none";
39 document.querySelectorAll(".question").forEach(q => {
40 q.addEventListener("click", (e) => {
41 let answerDiv = e.target.nextSibling;
42 const answerVisible = (answerDiv.style.display == "block");
43 answerDiv.style.display = (answerVisible ? "none" : "block");
53 @media screen and (max-width: 767px)
54 margin-left: var(--universal-margin)
55 margin-right: var(--universal-margin)