fix: choice menu gets visible again
This commit is contained in:
1 parent
32cd1922f5
commit
ac349b03aa
1 file changed
+6
@@ -66,6 +66,12 @@ const form = document.getElementById("rating");
|
|||||||
|
|
||||||
|
|
||||||
async function loadNext() {
|
async function loadNext() {
|
||||||
|
const rating_div = document.getElementById("rating");
|
||||||
|
rating_div.style = "";
|
||||||
|
|
||||||
|
const result_div = document.getElementById("result");
|
||||||
|
result_div.classList.add("invisible");
|
||||||
|
|
||||||
const res = await fetch("{{ url_for('main.api_getRandomSong') }}");
|
const res = await fetch("{{ url_for('main.api_getRandomSong') }}");
|
||||||
|
|
||||||
if (res.status === 401) {
|
if (res.status === 401) {
|
||||||
|
|||||||
Reference in new issue
Block a user