summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
Diffstat (limited to 'skins')
-rw-r--r--skins/default/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 53519d181..9e71f6f9a 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -147,7 +147,7 @@ show_markmenu: function(show)
body_mouseup: function(evt, p)
{
- if (this.markmenu && this.markmenu.visible && evt.target != rcube_find_object('markreadbutton'))
+ if (this.markmenu && this.markmenu.visible && rcube_event.get_target(evt) != rcube_find_object('markreadbutton'))
this.show_markmenu(false);
},