mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed submit error
This commit is contained in:
@@ -30,9 +30,7 @@
|
||||
Loading...
|
||||
</li>
|
||||
<li class="search-container hide" id="search-wrapper">
|
||||
<form id="song_search_form">
|
||||
<input id="search" class="search_input" type="text" title="Search for songs..." placeholder="Find song on YouTube..." onsubmit="null;" autocomplete="off" />
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -180,7 +180,6 @@ function init(){
|
||||
if(event.keyCode == 13){
|
||||
Search.search(search_input);
|
||||
}else{
|
||||
|
||||
timeout_search = setTimeout(function(){
|
||||
Search.search(search_input);
|
||||
}, 1000);
|
||||
@@ -357,7 +356,8 @@ $(document).on("click", ".suggested-link", function(e){
|
||||
$("#suggestions").css("display", "block");
|
||||
});
|
||||
|
||||
$(document).on("submit", "#chatForm", function(){
|
||||
$(document).on("submit", "#chatForm", function(e){
|
||||
e.preventDefault();
|
||||
Chat.chat(document.getElementById("chatForm").input);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user