]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
TabFocus uses Plugin::path()
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:30:14 +0000 (11:30 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:30:14 +0000 (11:30 -0500)
plugins/TabFocus/TabFocusPlugin.php

index dd8a97276748a916e137ea0936ad96a775ddf027..1b1d1c2b0aba2800c92a93e9f061c5991182b2e3 100644 (file)
@@ -41,7 +41,7 @@ class TabFocusPlugin extends Plugin
 
     function onEndShowScripts($action)
     {
-        $action->script('plugins/TabFocus/tabfocus.js');
+        $action->script($this->path('tabfocus.js'));
     }
 
     function onPluginVersion(&$versions)