We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
domains
1 parent 03ef45c commit 15b41b9Copy full SHA for 15b41b9
2 files changed
manifest.json
@@ -1,7 +1,7 @@
1
{
2
"name": "GitHub Notification Helper for Gmail",
3
"short_name": "GitHub4Gmail",
4
- "version": "0.1.0",
+ "version": "0.1.1",
5
"manifest_version": 2,
6
"description": "Add links to GitHub threads and shortcuts to your Gmail interface.",
7
"homepage_url": "http://github-gmail.muan.co",
src/inject/inject.js
@@ -12,7 +12,7 @@ function initOnHashChangeAction(domains) {
12
$(window).on('hashchange', function() {
13
github_links = document.querySelectorAll('[href^="https://github.com/"]')
14
15
- if(domains.length && !github_links.length) {
+ if(domains && !github_links.length) {
16
domains.map(function(name) {
17
if(!github_links.length) {
18
github_links = document.querySelectorAll('[href*="' + name + '"]')
0 commit comments