Skip to content

Commit

Permalink
Ensuring the details are hidden if there are no streams
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Dec 23, 2023
1 parent f09dd3c commit 032b4b4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions server/templates/main.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,8 @@
for (let i = selectObject.length; i > 0; i--) {
selectObject.remove(i);
}
if ($('#stream_selector').val() === 'please_select') {
streamFurther.hide();
} else {
streamFurther.show();
}
selectObject.options.selectedIndex = 0;
streamFurther.hide();
return;
}
const myArray = data.split(" ");
Expand Down

0 comments on commit 032b4b4

Please sign in to comment.