Commit ea5d38f9 by Takatoshi Miura

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

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

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