Allow post-hover.js to work /without/ forced-anon.js...
This commit is contained in:
parent
e34de4e09d
commit
134146e32c
@ -54,8 +54,10 @@ $(document).ready(function(){
|
|||||||
url: $(this).attr('href'),
|
url: $(this).attr('href'),
|
||||||
context: document.body,
|
context: document.body,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
post = $('div.post:first').prepend($(data).find('div.post#reply_' + id).css('display', 'none').addClass('hidden')).find('div.post#reply_' + id);
|
post = $('div.post:first')
|
||||||
if(localStorage['forcedanon'])
|
.prepend($(data).find('div.post#reply_' + id).css('display', 'none').addClass('hidden'))
|
||||||
|
.find('div.post#reply_' + id);
|
||||||
|
if(typeof window.enable_fa == 'function' && localStorage['forcedanon'])
|
||||||
enable_fa();
|
enable_fa();
|
||||||
start_hover(link, post);
|
start_hover(link, post);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user