We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6dfd1 commit 6a65145Copy full SHA for 6a65145
1 file changed
app/assets/javascripts/comments.js
@@ -41,14 +41,14 @@ $(() => {
41
window.hljs && hljs.highlightAll();
42
}
43
44
- $(document).on('click', '.post--comments-thread.is-inline a', async (ev) => {
+ $(document).on('click', '.js--comment-link', async (ev) => {
45
if (ev.ctrlKey || ev.metaKey) {
46
return;
47
48
49
ev.preventDefault();
50
51
- const $tgt = $(ev.target);
+ const $tgt = $(ev.currentTarget);
52
const $threadId = $tgt.data('thread');
53
const wrapper = getCommentThreadWrapper($tgt);
54
0 commit comments