From 9f6b3daaec3a04ec301d13a0536fcdb0c76f1101 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 24 Nov 2009 13:09:17 +0000 Subject: [PATCH] Added realtime-popup class to for popup output. --- plugins/Realtime/RealtimePlugin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index b737e442a0..cbfa6bae00 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -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