diff options
author | Vitaly Takmazov | 2018-09-30 23:10:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-30 23:10:18 +0300 |
commit | e22a84230dc8aa42751fb136b260a5a65b748c5d (patch) | |
tree | 3688070084df3d0bae812786395ee366882556ca /juick-server/src/main/assets/scripts.js | |
parent | 2998e390b70618e214032e87c683664ac22b6a0f (diff) |
fix mid selector
Diffstat (limited to 'juick-server/src/main/assets/scripts.js')
-rw-r--r-- | juick-server/src/main/assets/scripts.js | 2 |
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(); }); }); |