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
@ -539,7 +539,8 @@ $(function() {
|
|||||||
viewport.toggleClass(self.attr("class"));
|
viewport.toggleClass(self.attr("class"));
|
||||||
if (viewport.is(".lt, .rt")) {
|
if (viewport.is(".lt, .rt")) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
chat.find(".chat").one("click", function() {
|
chat.find(".chat").one("click", function(e) {
|
||||||
|
e.stopPropagation();
|
||||||
viewport.removeClass("lt");
|
viewport.removeClass("lt");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user