diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-07-03 10:24:03 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-07-03 10:25:05 +0300 |
commit | 4bcb40e395d1e32151e9ae76b307381436256cd9 (patch) | |
tree | 33d24ecbc9a5049fe5bc9ebd65c7ab9e466e5420 /skins/elastic | |
parent | 600a1e29ff45da0e9ad76efcf352f1f7408f95a2 (diff) |
Fix shift + drag'n'drop menu not working Elastic skin with Chrome browser (#8107)
Diffstat (limited to 'skins/elastic')
-rw-r--r-- | skins/elastic/ui.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index 0c6b45d6e..50908e4c5 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -2533,7 +2533,9 @@ function rcube_elastic_ui() } menus[p.name] = {target: target}; - $(target).popover('show'); + + // setTimeout fixes Shift + drag'n'drop menu in Chrome (#8107) + setTimeout(function() { $(target).popover('show'); }, 1); } fn(); |