diff --git a/nuxt.config.js b/nuxt.config.js index 611554ce..841bed4f 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -69,6 +69,11 @@ export default { async: true, defer: true, }, + { + src: 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js', + 'data-ad-client': 'ca-pub-4615302805870170', + async: true, + }, ], }, diff --git a/pages/mods.vue b/pages/mods.vue index bed6ea57..e7266a7e 100644 --- a/pages/mods.vue +++ b/pages/mods.vue @@ -308,7 +308,9 @@ export default { if (this.$route.query.v) this.selectedVersions = this.$route.query.v.split(',') if (this.$route.query.s) { - this.sortType = this.$route.query.s + this.sortType.name = this.$route.query.s + this.sortType.display = + this.sortType.name.charAt(0).toUpperCase() + this.sortType.name.slice(1) } if (this.$route.query.m) { this.maxResults = this.$route.query.m