fix js-crash for url //; closes #487

This commit is contained in:
ed 2025-08-06 20:24:31 +00:00
parent 00cb1f74e2
commit 0f55a1ae86

View file

@ -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]);