Fixed listen button

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-25 14:16:51 +01:00
parent 8332a34ce1
commit ae82f3fbf9
3 changed files with 4 additions and 4 deletions

View File

@@ -342,7 +342,7 @@ $(document).on('click', '#cookieok', function() {
Nochan.to_channel($(this).attr("href"), false);
});
$(".listen-button").click(function(e){
$(document).on("click", ".listen-button", function(e){
//console.log($(".room-namer").attr("placeholder"));
if($(".room-namer").val() == ""){
e.preventDefault();