mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed info box showing up when pushing listening on empty values
This commit is contained in:
@@ -289,9 +289,10 @@ $(document).on('click', '#toast-container', function(){
|
||||
});
|
||||
});
|
||||
|
||||
$(".listen-button").click(function(){
|
||||
$(".listen-button").click(function(e){
|
||||
//console.log($(".room-namer").attr("placeholder"));
|
||||
if($(".room-namer").val() == ""){
|
||||
e.preventDefault();
|
||||
window.location = "?chan="+$(".room-namer").attr("placeholder");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user