Skip to content

Commit

Permalink
Merge pull request #455 from williamboman/fix/tap-hide-chat-prevent-d…
Browse files Browse the repository at this point in the history
…efault

client: stop propagation when hiding the chat through click/tapping the chat
  • Loading branch information
xPaw committed Jul 3, 2016
2 parents c76cb48 + a23a266 commit 083b2d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/js/lounge.js
Expand Up @@ -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");
});
}
Expand Down

0 comments on commit 083b2d5

Please sign in to comment.