diff options
author | Vitaly Takmazov | 2017-10-19 16:34:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-21 22:53:09 +0000 |
commit | ff106a64431e6510267ab0677c41d95d555b3956 (patch) | |
tree | 22ef5e3e4bd7992906ed050d07f8a13c2c317882 /juick-www/src/main/static/scripts.js | |
parent | 673dbb9b9bab99b458eb94c78d1e54e4c70e4b86 (diff) |
www: new design
Diffstat (limited to 'juick-www/src/main/static/scripts.js')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js index bad1d415..321de92d 100644 --- a/juick-www/src/main/static/scripts.js +++ b/juick-www/src/main/static/scripts.js @@ -214,7 +214,7 @@ function wsIncomingReply(msg) { li.innerHTML = msgContHtml; li.addEventListener('click', newReply); li.addEventListener('mouseover', newReply); - li.querySelector('.msg-menu > a').addEventListener('click', function (e) { + li.querySelector('.msg-menu').addEventListener('click', function (e) { showMessageLinksDialog(msg.mid, msg.rid); e.preventDefault(); }); @@ -715,7 +715,7 @@ ready(function () { } } - document.querySelectorAll('.msg-menu a').forEach(function (el) { + document.querySelectorAll('.msg-menu').forEach(function (el) { el.addEventListener('click', function (e) { var reply = e.target.closest('li'); var rid = reply ? parseInt(reply.id) : 0; |