summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-06-14 10:57:55 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-06-14 10:58:42 +0200
commit459e46a8d75e69befd80c9be5a39a3cfd478276d (patch)
tree88bee2d0ef4901239a3f53ebbc5e917de83ae2f1 /skins
parentce7090cce94e77b8a05aa9bb77f4dc29d3278e9f (diff)
Fix target check with nested buttons
Diffstat (limited to 'skins')
-rw-r--r--skins/larry/ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index b79391891..be0ca6aa6 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -220,6 +220,8 @@ function rcube_mail_ui()
function body_mouseup(e)
{
var config, obj, target = e.target;
+ if (target.className == 'inner')
+ target = e.target.parentNode;
for (var id in popups) {
obj = popups[id];
config = popupconfig[id];