From c5f91540f2d86628ac0f61bae69a490e4aa1388d Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 22 Apr 2018 10:24:21 +0200 Subject: [PATCH] Elastic: Close menus also on touch inside an iframe --- skins/elastic/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index 34e98ca11..0ac83a489 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -906,7 +906,7 @@ function rcube_elastic_ui() $('[data-popup]').each(function() { popup_init(this); }); $(document).on('click', popups_close); - rcube_webmail.set_iframe_events({mousedown: popups_close}); + rcube_webmail.set_iframe_events({mousedown: popups_close, touchstart: popups_close}); }; /**