Skip to content

Commit

Permalink
Adds digitalocean forum
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorocha committed May 3, 2017
1 parent 5e75647 commit 68fbe81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
]
}]
}
2 changes: 1 addition & 1 deletion src/scripts/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const htmlButton = `
</button>`;

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);
}

0 comments on commit 68fbe81

Please sign in to comment.