pass download
This commit is contained in:
parent
9e6ecb5459
commit
03daede441
1 changed files with 4 additions and 1 deletions
|
@ -125,7 +125,10 @@ const clickLink = function(event) {
|
||||||
}
|
}
|
||||||
document.location.hash = '#' + link.slice(1)
|
document.location.hash = '#' + link.slice(1)
|
||||||
} else {
|
} else {
|
||||||
if (!link.startsWith('/m')) {
|
if (link.includes('/download/')) {
|
||||||
|
document.location.href = link
|
||||||
|
return
|
||||||
|
} else if (!link.startsWith('/m')) {
|
||||||
link = '/m' + link
|
link = '/m' + link
|
||||||
}
|
}
|
||||||
history.pushState({}, '', link);
|
history.pushState({}, '', link);
|
||||||
|
|
Loading…
Reference in a new issue