mirror of
https://github.com/techgaun/active-forks.git
synced 2025-01-03 11:22:17 +01:00
remove initial forward slash closes #12
This commit is contained in:
parent
42babe6ec8
commit
0eb199559e
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function fetchData() {
|
||||||
const urlRepo = getRepoFromUrl();
|
const urlRepo = getRepoFromUrl();
|
||||||
|
|
||||||
if (!urlRepo || urlRepo !== repo) {
|
if (!urlRepo || urlRepo !== repo) {
|
||||||
window.history.pushState('', '', `/#${repo}`);
|
window.history.pushState('', '', `#${repo}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (re.test(repo)) {
|
if (re.test(repo)) {
|
||||||
|
|
Loading…
Reference in a new issue