projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Dynamo
[vchess.git]
/
client
/
src
/
views
/
Faq.vue
diff --git
a/client/src/views/Faq.vue
b/client/src/views/Faq.vue
index
3376afd
..
05b1e25
100644
(file)
--- a/
client/src/views/Faq.vue
+++ b/
client/src/views/Faq.vue
@@
-7,6
+7,7
@@
main
<script>
import { store } from "@/store";
<script>
import { store } from "@/store";
+import afterRawLoad from "@/utils/afterRawLoad";
export default {
name: "my-faq",
data: function() {
export default {
name: "my-faq",
data: function() {
@@
-14,14
+15,12
@@
export default {
},
computed: {
content: function() {
},
computed: {
content: function() {
- // (AJAX) Request to get FAQ content (plain text, HTML)
return (
return (
- require("raw-loader!@/translations/faq/" + this.st.lang + ".pug")
- // Next two lines fix a weird issue after last update (2019-11)
- .replace(/\\n/g, " ")
- .replace(/\\"/g, '"')
- .replace('module.exports = "', "")
- .replace(/"$/, "")
+ afterRawLoad(
+ require(
+ "raw-loader!@/translations/faq/" + this.st.lang + ".pug"
+ ).default
+ )
);
}
},
);
}
},
@@
-50,6
+49,7
@@
export default {
<style lang="sass">
#faqDiv
<style lang="sass">
#faqDiv
+ margin-bottom: 10px
@media screen and (max-width: 767px)
margin-left: var(--universal-margin)
margin-right: var(--universal-margin)
@media screen and (max-width: 767px)
margin-left: var(--universal-margin)
margin-right: var(--universal-margin)