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:
Pavel Djundik 2016-07-03 19:10:30 +03:00 committed by GitHub
commit 083b2d54e6

View File

@ -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");
});
}