Commit 75075792 by libai

测试

parent 93843ac1
Showing with 11 additions and 1 deletions
......@@ -1103,11 +1103,21 @@ $(function(){
setTimeout(function() {
layer.msg("請輸入要發送的內容")
}, 300);
return;
}
msgSend($(".keyboard-input").val())
})
$(".keyboard-input").on("keydown",function(){
if (event.keyCode == "13") {
if($(".keyboard-input").val()==''){
setTimeout(function() {
layer.msg("請輸入要發送的內容")
}, 300);
return;
}
msgSend($(".keyboard-input").val())
}
})
$(".room-close").on("click",function(){
if(backGo!=0){
history.back(-1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment