From 68fbe819b1ab5435da619a2ff4ab8dc9d54566a2 Mon Sep 17 00:00:00 2001 From: Zeno Rocha Date: Tue, 2 May 2017 21:22:54 -0700 Subject: [PATCH] Adds digitalocean forum --- dist/manifest.json | 3 ++- src/scripts/util.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/manifest.json b/dist/manifest.json index 32abc46..0191e9c 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -36,7 +36,8 @@ "https://stackoverflow.com/*", "https://tableless.com.br/*", "https://laracasts.com/discuss/*", - "https://docs.rs/*" + "https://docs.rs/*", + "https://www.digitalocean.com/community/*" ] }] } diff --git a/src/scripts/util.js b/src/scripts/util.js index 06cf721..f24f6dc 100644 --- a/src/scripts/util.js +++ b/src/scripts/util.js @@ -6,6 +6,6 @@ export const htmlButton = ` `; export const isLargeButton = () => { - const sites = /^(github.com|gist.github.com|medium.com|www.npmjs.com|developer.mozilla.org|tableless.com.br|laracasts.com|docs.rs)$/; + const sites = /^(github.com|gist.github.com|medium.com|www.npmjs.com|developer.mozilla.org|tableless.com.br|laracasts.com|docs.rs|www.digitalocean.com)$/; return sites.exec(document.location.hostname); }