mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-07 20:18:49 +00:00
Fixed submit error
This commit is contained in:
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