forked from leftypol/leftypol
post-hover.js: show init_hover function globally
This commit is contained in:
parent
7d0a563dc1
commit
0df63cdfa3
1 changed files with 3 additions and 0 deletions
|
@ -226,5 +226,8 @@ if ((active_page === 'thread' || active_page === 'index' || active_page === 'ukk
|
||||||
$(document).on('new_post', function(e, post) {
|
$(document).on('new_post', function(e, post) {
|
||||||
$(post).find('div.body a:not([rel="nofollow"])').each(init_hover);
|
$(post).find('div.body a:not([rel="nofollow"])').each(init_hover);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Must be available to `show-backlinks.js` and likely others...
|
||||||
|
window.init_hover = init_hover;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue