diff --git a/src/components/Support.md b/src/components/Support.md index f1651b7..b21e91d 100644 --- a/src/components/Support.md +++ b/src/components/Support.md @@ -1,15 +1,5 @@ Having problems? We're here to help! -We recommend checking out the community forums first, as they may be -the fastest way to get feedback. - - [Chat in real time on our Discord server](https://discord.buttplug.io) - [Message the Buttplugio account on twitter](https://twitter.com/buttplugio) - -If you aren't finding an answer there, or aren't comfortable -interacting with internet communities on this topic, we also have -direct support services available. - -- [Check out our knowledge base](https://nonpolynomial.zendesk.com/hc/en-us) -- To request help, hit the "Help" or "?" button on the lower right - +- [Check out our FAQ](https://how.do.i.get.buttplug.in) \ No newline at end of file diff --git a/src/components/Support.ts b/src/components/Support.ts index bcabb78..b8c9648 100644 --- a/src/components/Support.ts +++ b/src/components/Support.ts @@ -5,18 +5,8 @@ const SupportText = require("./Support.md").vue.component; @Component({}) export default class Support extends Vue.extend(SupportText) { public mounted() { - if (document.getElementById("launcher") === null) { - const body = document.getElementsByTagName("body")[0]; - const script = document.createElement("script"); - script.setAttribute("id", "ze-snippet"); - script.setAttribute("src", "https://static.zdassets.com/ekr/snippet.js?key=aba3172c-0357-430b-889b-ee229173abf2"); - body.appendChild(script); - } else { - document.getElementById("launcher")!.style.display = "block"; - } } public beforeDestroy() { - document.getElementById("launcher")!.style.display = "none"; } } diff --git a/yarn.lock b/yarn.lock index 2d6097d..11d44af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7826,9 +7826,9 @@ querystring@0.2.0: integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= querystringify@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" - integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== + version "2.2.0" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" + integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: version "2.1.0" @@ -9454,18 +9454,10 @@ url-loader@^2.2.0: mime "^2.4.4" schema-utils "^2.5.0" -url-parse@^1.4.3: - version "1.4.7" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" - integrity sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg== - dependencies: - querystringify "^2.1.1" - requires-port "^1.0.0" - -url-parse@^1.4.7: - version "1.5.1" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.1.tgz#d5fa9890af8a5e1f274a2c98376510f6425f6e3b" - integrity sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q== +url-parse@^1.4.3, url-parse@^1.4.7: + version "1.5.10" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" + integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== dependencies: querystringify "^2.1.1" requires-port "^1.0.0"