From a23a26679fae29498b70851d76d786ce15aa4a51 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 3 Jul 2016 17:36:00 +0200 Subject: [PATCH] client: stop propagation when hiding the chat through tapping/clicking --- client/js/lounge.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index 694cf59e..d5cde7bf 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -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"); }); }