summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/forced-anon.js2
-rw-r--r--js/post-hover.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/js/forced-anon.js b/js/forced-anon.js
index 6949769d..0f7f1c70 100644
--- a/js/forced-anon.js
+++ b/js/forced-anon.js
@@ -12,7 +12,7 @@
*/
$(document).ready(function(){
- var enable_fa = function() {
+ enable_fa = function() {
$('p.intro label').each(function() {
if($(this).children('a.capcode').length == 0) {
var id = $(this).parent().children('a.post_no:eq(1)').text();
diff --git a/js/post-hover.js b/js/post-hover.js
index 39c4aca6..d7d567cd 100644
--- a/js/post-hover.js
+++ b/js/post-hover.js
@@ -55,6 +55,8 @@ $(document).ready(function(){
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'])
+ enable_fa();
start_hover(link, post);
}
});