From e22a84230dc8aa42751fb136b260a5a65b748c5d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 30 Sep 2018 23:10:18 +0300 Subject: fix mid selector --- juick-server/src/main/assets/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src') 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(); }); }); -- cgit v1.2.3