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:
@@ -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