1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

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);
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>');