Commit ea5d38f9 by Takatoshi Miura

Merge branch 'origin/bugfix_messageSend_#590' into 'release_sp3'

送信ボタンでメッセージを送信できないバグを修正

See merge request !76
parents 6225efac 02a95d1e
...@@ -47,12 +47,15 @@ $(function() { ...@@ -47,12 +47,15 @@ $(function() {
}); });
$('.message_input_form').on('focus',function(e){ $('.message_input_form').on('focus',function(e){
setTimeout(function() {
$('.message_input_send').removeClass('none'); $('.message_input_send').removeClass('none');
$('.attach_file').addClass('none'); $('.attach_file').addClass('none');
$('.footer_content_b').addClass('none'); $('.footer_content_b').addClass('none');
}, 10);
}); });
$('.message_input_form').on('focusout',function(e){ $('.message_input_form').on('focusout',function(e){
setTimeout(function() {
if($(e.relatedTarget).hasClass('message_input_send')){ if($(e.relatedTarget).hasClass('message_input_send')){
CHAT_UI.sendMessage(); CHAT_UI.sendMessage();
} else { } else {
...@@ -60,5 +63,7 @@ $(function() { ...@@ -60,5 +63,7 @@ $(function() {
$('.attach_file').removeClass('none'); $('.attach_file').removeClass('none');
$('.footer_content_b').removeClass('none'); $('.footer_content_b').removeClass('none');
} }
}, 10);
}); });
}); });
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 to comment