Added realtime-popup class to <body> for popup output.

This commit is contained in:
Sarven Capadisli 2009-11-24 13:09:17 +00:00
parent d3fa673e9b
commit 9f6b3daaec
1 changed files with 3 additions and 2 deletions

View 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