summaryrefslogtreecommitdiff
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:57:55 +0200
commite10faba00057d03e28b48720f76ca4e469ef1c71 (patch)
tree0e278e6a339e64d3afc94b05dbdc688526551c31
parent174e2ca3bdd3bbe9cfd1e8e8542225e478f5fa04 (diff)
Fix target check with nested buttons
-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 630008f7e..675f61bc3 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -218,6 +218,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];