mirror of
https://github.com/navidrome/navidrome.git
synced 2026-07-02 07:12:36 +00:00
Only show message after 2 seconds, giving time for the browser to close it first
This commit is contained in:
parent
6a254c8b67
commit
b23918816d
@ -5,10 +5,9 @@
|
||||
<title>Account Linking Success</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>
|
||||
Success! Your account is linked to Last.fm. You can close this tab now.
|
||||
</h2>
|
||||
<h2 id="msg"></h2>
|
||||
<script>
|
||||
setTimeout("document.getElementById('msg').innerHTML = 'Success! Your account is linked to Last.fm. You can close this tab now.';",2000)
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
window.close();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user