summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/post-hover.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/post-hover.js b/js/post-hover.js
index d7d567cd..5e5f4bab 100644
--- a/js/post-hover.js
+++ b/js/post-hover.js
@@ -54,8 +54,10 @@ $(document).ready(function(){
url: $(this).attr('href'),
context: document.body,
success: function(data) {
- post = $('div.post:first').prepend($(data).find('div.post#reply_' + id).css('display', 'none').addClass('hidden')).find('div.post#reply_' + id);
- if(localStorage['forcedanon'])
+ post = $('div.post:first')
+ .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();
start_hover(link, post);
}