summaryrefslogtreecommitdiff
path: root/js/thread-stats.js
diff options
context:
space:
mode:
authorForkless <REDACTED@gmail.com>2014-11-17 03:06:56 -0600
committerczaks <marcin@6irc.net>2015-04-10 15:35:38 +0200
commitfdc14c699c25131ffe25536928e0dfac990c4ae3 (patch)
tree25bb27370a06b264e1ee96c42d2a57795c82fd01 /js/thread-stats.js
parent1aa8f6251d30545242768bf13bbe9ee89c231ca7 (diff)
Fix color incase page is missed and then found again.
Diffstat (limited to 'js/thread-stats.js')
-rw-r--r--js/thread-stats.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/thread-stats.js b/js/thread-stats.js
index 4050fb67..7c13d66c 100644
--- a/js/thread-stats.js
+++ b/js/thread-stats.js
@@ -79,6 +79,7 @@ $(document).ready(function(){
}
$('#thread_stats_page').text(page);
if (!found) $('#thread_stats_page').css('color','red');
+ else $('#thread_stats_page').css('color','');
});
}
// load the current page the thread is on.
@@ -99,6 +100,7 @@ $(document).ready(function(){
}
$('#thread_stats_page').text(page);
if (!found) $('#thread_stats_page').css('color','red');
+ else $('#thread_stats_page').css('color','');
});
},30000);
$('body').append('<style>.posts_by_id{display:none;}.poster_id:hover+.posts_by_id{display:initial}</style>');