Using mark-top styles

This commit is contained in:
Sarven Capadisli 2009-11-11 12:21:27 +00:00
parent 0d8e9faaa1
commit d6cd083946
1 changed files with 2 additions and 8 deletions

View File

@ -45,15 +45,9 @@ RealtimeUpdate = {
DT = document.title;
$(window).blur(function() {
$('#notices_primary .notice').css({
'border-top-color':$('#notices_primary .notice:last').css('border-top-color'),
'border-top-style':'dotted'
});
$('#notices_primary .notice').removeClass('mark-top');
$('#notices_primary .notice:first').css({
'border-top-color':'#AAAAAA',
'border-top-style':'solid'
});
$('#notices_primary .notice:first').addClass('mark-top');
RealtimeUpdate._updatecounter = 0;
document.title = DT;