client: stop propagation when hiding the chat through tapping/clicking

This commit is contained in:
William Boman 2016-07-03 17:36:00 +02:00
parent 2fedd861d7
commit a23a26679f

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