]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added realtime-popup class to <body> for popup output.
authorSarven Capadisli <csarven@status.net>
Tue, 24 Nov 2009 13:09:17 +0000 (13:09 +0000)
committerSarven Capadisli <csarven@status.net>
Tue, 24 Nov 2009 13:09:17 +0000 (13:09 +0000)
plugins/Realtime/RealtimePlugin.php

index b737e442a02cfba6132e2d838b29546c3eb09f8b..cbfa6bae0058d4595f1365be4f56739003f656d4 100644 (file)
@@ -220,8 +220,9 @@ class RealtimePlugin extends Plugin
 
         $action->elementStart('body',
                               (common_current_user()) ? array('id' => $action->trimmed('action'),
-                                                              'class' => 'user_in')
-                              : array('id' => $action->trimmed('action')));
+                                                              'class' => 'user_in realtime-popup')
+                              : array('id' => $action->trimmed('action'),
+                                      'class'=> 'realtime-popup'));
 
         // XXX hack to deal with JS that tries to get the
         // root url from page output