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

Merge pull request #267 from forklessanon/fix-2

Fix color incase page is missed and then found again.
This commit is contained in:
Marcin Łabanowski 2014-11-17 11:09:48 +01:00
commit da6eece8eb

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