Fixed error where writing channelname took you to placeholder instead of given value

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-25 15:39:47 +01:00
parent ba5a79b607
commit 6bd2cc220e
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -357,7 +357,7 @@ $(document).on('click', '#cookieok', function() {
$(document).on("submit", ".channel-finder", function(e){
e.preventDefault();
Nochan.to_channel($(".room-namer").attr("placeholder"));
Nochan.to_channel($(".room-namer").val());
return false;
});