mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-13 11:32:40 +00:00
Removed info box showing up when pushing listening on empty values
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+2
-1
@@ -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"));
|
//console.log($(".room-namer").attr("placeholder"));
|
||||||
if($(".room-namer").val() == ""){
|
if($(".room-namer").val() == ""){
|
||||||
|
e.preventDefault();
|
||||||
window.location = "?chan="+$(".room-namer").attr("placeholder");
|
window.location = "?chan="+$(".room-namer").attr("placeholder");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user