mirror of
https://github.com/thelounge/thelounge
synced 2025-02-17 05:38:25 +00:00
Merge pull request #455 from williamboman/fix/tap-hide-chat-prevent-default
client: stop propagation when hiding the chat through click/tapping the chat
This commit is contained in:
commit
083b2d54e6
1 changed files with 2 additions and 1 deletions
|
@ -539,7 +539,8 @@ $(function() {
|
|||
viewport.toggleClass(self.attr("class"));
|
||||
if (viewport.is(".lt, .rt")) {
|
||||
e.stopPropagation();
|
||||
chat.find(".chat").one("click", function() {
|
||||
chat.find(".chat").one("click", function(e) {
|
||||
e.stopPropagation();
|
||||
viewport.removeClass("lt");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue