Fix color incase page is missed and then found again.

This commit is contained in:
Forkless 2014-11-17 03:06:56 -06:00 committed by czaks
parent 1aa8f6251d
commit fdc14c699c

View File

@ -79,6 +79,7 @@ $(document).ready(function(){
} }
$('#thread_stats_page').text(page); $('#thread_stats_page').text(page);
if (!found) $('#thread_stats_page').css('color','red'); if (!found) $('#thread_stats_page').css('color','red');
else $('#thread_stats_page').css('color','');
}); });
} }
// load the current page the thread is on. // load the current page the thread is on.
@ -99,6 +100,7 @@ $(document).ready(function(){
} }
$('#thread_stats_page').text(page); $('#thread_stats_page').text(page);
if (!found) $('#thread_stats_page').css('color','red'); if (!found) $('#thread_stats_page').css('color','red');
else $('#thread_stats_page').css('color','');
}); });
},30000); },30000);
$('body').append('<style>.posts_by_id{display:none;}.poster_id:hover+.posts_by_id{display:initial}</style>'); $('body').append('<style>.posts_by_id{display:none;}.poster_id:hover+.posts_by_id{display:initial}</style>');