Skip to content

Commit 9f38ced

Browse files
authored
bugfix
1 parent 67dd63c commit 9f38ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MUSICPLAYER.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
const brokenButtonId = 'brokenRedirect';
343343
if (! document.querySelector(`#${brokenButtonId}`)) {
344344
var a = document.createElement('button');
345-
a.click = () => {window.open(window.location.pathname.replace('/main/','quickpatch-till-music-is-live'), '_self');};
345+
a.onclick = () => {window.open(window.location.pathname.replace('/main/','/quickpatch-till-music-is-live/'), '_self');};
346346
a.innerText = `Errors while attempting to retreive the audio src key. Click here to use the other version of the app.`;
347347
a.id = 'brokenRedirect';
348348
document.body.insertBefore(a, document.body.firstChild);

0 commit comments

Comments
 (0)