summaryrefslogtreecommitdiff
path: root/plugins/Realtime
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-27 19:50:08 -0800
committerBrion Vibber <brion@pobox.com>2010-01-27 19:50:08 -0800
commit5c0560a7fc7d5e7bb9c91da7cc273d2dc89e32b2 (patch)
treef747cac9ebcf21867ffe8a3eaa7a72362c8e4cd2 /plugins/Realtime
parent84e7c7783c3a781b6dc12335371c984eca8e43d8 (diff)
fix for fix for bad realtime JS load
Diffstat (limited to 'plugins/Realtime')
-rw-r--r--plugins/Realtime/RealtimePlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index 16e28e94d..6c212453e 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -87,7 +87,7 @@ class RealtimePlugin extends Plugin
$scripts = $this->_getScripts();
foreach ($scripts as $script) {
- $action->script(common_path($script));
+ $action->script($script);
}
$user = common_current_user();
@@ -307,7 +307,7 @@ class RealtimePlugin extends Plugin
function _getScripts()
{
- return array('plugins/Realtime/realtimeupdate.js');
+ return array(common_path('plugins/Realtime/realtimeupdate.js'));
}
function _updateInitialize($timeline, $user_id)