summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--skins/classic/functions.js2
-rw-r--r--skins/larry/ui.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js
index 8d81c3ad2..2b7886d38 100644
--- a/skins/classic/functions.js
+++ b/skins/classic/functions.js
@@ -984,7 +984,7 @@ function rcube_init_mail_ui()
else if (rcmail.env.action == 'show' || rcmail.env.action == 'preview')
// add menu link for each attachment
$('#attachment-list > li[id^="attach"]').each(function() {
- $(this).append($('<a class="drop">').click(function() { rcmail_ui.show_attachmentmenu(this); }));
+ $(this).append($('<a class="drop"></a>').click(function() { rcmail_ui.show_attachmentmenu(this); }));
});
}
else if (rcmail.env.task == 'addressbook') {
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 760cc7a03..1edc2caa0 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -106,7 +106,7 @@ function rcube_mail_ui()
// add menu link for each attachment
$('#attachment-list > li').each(function() {
- $(this).append($('<a class="drop">').click(function() { attachmentmenu(this); }));
+ $(this).append($('<a class="drop"></a>').click(function() { attachmentmenu(this); }));
});
}
else if (rcmail.env.action == 'compose') {