forked from GNUsocial/gnu-social
Using mark-top styles
This commit is contained in:
parent
0d8e9faaa1
commit
d6cd083946
@ -45,15 +45,9 @@ RealtimeUpdate = {
|
|||||||
DT = document.title;
|
DT = document.title;
|
||||||
|
|
||||||
$(window).blur(function() {
|
$(window).blur(function() {
|
||||||
$('#notices_primary .notice').css({
|
$('#notices_primary .notice').removeClass('mark-top');
|
||||||
'border-top-color':$('#notices_primary .notice:last').css('border-top-color'),
|
|
||||||
'border-top-style':'dotted'
|
|
||||||
});
|
|
||||||
|
|
||||||
$('#notices_primary .notice:first').css({
|
$('#notices_primary .notice:first').addClass('mark-top');
|
||||||
'border-top-color':'#AAAAAA',
|
|
||||||
'border-top-style':'solid'
|
|
||||||
});
|
|
||||||
|
|
||||||
RealtimeUpdate._updatecounter = 0;
|
RealtimeUpdate._updatecounter = 0;
|
||||||
document.title = DT;
|
document.title = DT;
|
||||||
|
Loading…
Reference in New Issue
Block a user