mirror of https://github.com/zulip/zulip.git
compose: Only blur text boxes in compose box on hide.
Previously, we blurred all input/text boxes, including e.g. the search box. This probably won't impact normal operation, but this can be a problem for our automated frontend tests which tend to have different timing than real life. (imported from commit ea84312bea2aae99d51b48cede0746e7a5b6e76e)
This commit is contained in:
parent
eadb2ea6d3
commit
8160795cdc
|
@ -279,7 +279,7 @@ $(function () {
|
|||
});
|
||||
|
||||
exports.hide = function () {
|
||||
$('input, textarea, button').blur();
|
||||
$('.message_comp > input, textarea, button').blur();
|
||||
$('.message_comp').slideUp(100,
|
||||
function() { $('#compose').css({visibility: "hidden"});});
|
||||
notifications_bar.enable();
|
||||
|
|
Loading…
Reference in New Issue