aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src')
-rw-r--r--juick-www/src/main/static/scripts.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 6f5d40fa..ef1c40d8 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -587,11 +587,11 @@ ready(function () {
}
}
- document.querySelectorAll('.msg-menu a').forEach(function(e) {
- e.addEventListener('click', function(e) {
+ document.querySelectorAll('.msg-menu a').forEach(function(el) {
+ el.addEventListener('click', function(e) {
showMessageLinksDialog(
- e.closest('section').getAttribute('data-mid'),
- parseInt(e.closest('li').id)); // rid
+ e.target.closest('section').getAttribute('data-mid'),
+ parseInt(e.target.closest('li').id)); // rid
e.preventDefault();
});
});