mirror of https://github.com/zulip/zulip.git
parent
d5bcfc415d
commit
387f37c15e
|
@ -544,6 +544,12 @@ exports.register_click_handlers = function () {
|
||||||
row.find(".alert-copied").css("display", "block");
|
row.find(".alert-copied").css("display", "block");
|
||||||
row.find(".alert-copied").delay(1000).fadeOut(300);
|
row.find(".alert-copied").delay(1000).fadeOut(300);
|
||||||
|
|
||||||
|
setTimeout(function () {
|
||||||
|
// The Cliboard library works by focusing to a hidden textarea.
|
||||||
|
// We unfocus this so keyboard shortcuts, etc., will work again.
|
||||||
|
$(":focus").blur();
|
||||||
|
}, 0);
|
||||||
|
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue