diff options
| author | Forkless <REDACTED@gmail.com> | 2014-11-17 03:06:56 -0600 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-10 15:35:38 +0200 |
| commit | fdc14c699c25131ffe25536928e0dfac990c4ae3 (patch) | |
| tree | 25bb27370a06b264e1ee96c42d2a57795c82fd01 /js | |
| parent | 1aa8f6251d30545242768bf13bbe9ee89c231ca7 (diff) | |
Fix color incase page is missed and then found again.
Diffstat (limited to 'js')
| -rw-r--r-- | js/thread-stats.js | 2 |
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>'); |
