aboutsummaryrefslogtreecommitdiff
path: root/juick-server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-30 23:10:18 +0300
committerGravatar Vitaly Takmazov2018-09-30 23:10:18 +0300
commite22a84230dc8aa42751fb136b260a5a65b748c5d (patch)
tree3688070084df3d0bae812786395ee366882556ca /juick-server
parent2998e390b70618e214032e87c683664ac22b6a0f (diff)
fix mid selector
Diffstat (limited to 'juick-server')
-rw-r--r--juick-server/src/main/assets/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/assets/scripts.js b/juick-server/src/main/assets/scripts.js
index 1c090256..af099674 100644
--- a/juick-server/src/main/assets/scripts.js
+++ b/juick-server/src/main/assets/scripts.js
@@ -798,7 +798,7 @@ ready(function () {
e.addEventListener('click', function (e) {
subscribeMessage(
e.target,
- e.target.closest('article').getAttribute('data-mid'));
+ document.getElementById('content').getAttribute('data-mid'));
e.preventDefault();
});
});