Merge pull request #14 from behnam/patch-1
[inject.js] Add 'blog' to reserved usernames list
This commit is contained in:
commit
a3cae538af
|
@ -49,7 +49,7 @@
|
|||
if (!match) return false
|
||||
|
||||
// must not be a reserved `username`
|
||||
if (~['settings', 'organizations', 'site'].indexOf(match[1])) return false
|
||||
if (~['settings', 'organizations', 'site', 'blog'].indexOf(match[1])) return false
|
||||
|
||||
// TODO: the intention is to hide the sidebar when users navigate to non-code areas (e.g. Issues, Pulls)
|
||||
// and show it again when users navigate back to the code area
|
||||
|
@ -192,4 +192,4 @@
|
|||
return localStorage.removeItem(key)
|
||||
}
|
||||
}
|
||||
})()
|
||||
})()
|
||||
|
|
Loading…
Reference in New Issue