mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
fix js-crash for url //
; closes #487
This commit is contained in:
parent
00cb1f74e2
commit
0f55a1ae86
|
@ -6742,6 +6742,10 @@ var ACtx = !IPHONE && (window.AudioContext || window.webkitAudioContext),
|
|||
dk, mp;
|
||||
|
||||
|
||||
if (location.pathname.indexOf('//') === 0)
|
||||
hist_replace(location.pathname.replace(/^\/+/, '/'));
|
||||
|
||||
|
||||
if (window.og_fn) {
|
||||
hash0 = 1;
|
||||
hist_replace(vsplit(get_evpath())[0]);
|
||||
|
|
Loading…
Reference in a new issue