]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Realtime needs to load from own directory, not subclass's
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 17:18:57 +0000 (12:18 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 17:18:57 +0000 (12:18 -0500)
plugins/Realtime/RealtimePlugin.php

index 5d119982f50b62e67a21826df6d38107c10fd83b..246b1f9735d9ef8596115c17cf95708404239649 100644 (file)
@@ -116,7 +116,7 @@ class RealtimePlugin extends Plugin
 
     function onEndShowStatusNetStyles($action)
     {
-        $action->cssLink($this->path('realtimeupdate.css'),
+        $action->cssLink(Plugin::staticPath('Realtime', 'realtimeupdate.css'),
                          null,
                          'screen, projection, tv');
         return true;
@@ -323,7 +323,7 @@ class RealtimePlugin extends Plugin
 
     function _getScripts()
     {
-        return array($this->path('realtimeupdate.min.js'));
+        return array(Plugin::staticPath('Realtime', 'realtimeupdate.min.js'));
     }
 
     /**