UX: Do not close login modal and search menu on outside mouse up event. (#7366)

This commit is contained in:
Bianca Nenciu
2019-04-23 06:01:44 +03:00
committed by Sam
parent 9050b1bf5a
commit 58fe45ffd9
4 changed files with 30 additions and 2 deletions
@@ -73,7 +73,7 @@ export default Ember.Component.extend({
$("html").off("keydown.discourse-modal");
},
click(e) {
mouseDown(e) {
if (!this.get("dismissable")) {
return;
}