]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using mark-top styles
authorSarven Capadisli <csarven@status.net>
Wed, 11 Nov 2009 12:21:27 +0000 (12:21 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 11 Nov 2009 12:21:27 +0000 (12:21 +0000)
plugins/Realtime/realtimeupdate.js

index ca6ea891a14f4be7b4c4c1351796fa3c3410c325..a2af4007ba5915b8aea22815ac7f4c5f7b6060f2 100644 (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:first').css({
-            'border-top-color':'#AAAAAA',
-            'border-top-style':'solid'
-          });
+          $('#notices_primary .notice').removeClass('mark-top');
+
+          $('#notices_primary .notice:first').addClass('mark-top');
 
           RealtimeUpdate._updatecounter = 0;
           document.title = DT;