X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FTabFocus%2FTabFocusPlugin.php;h=1b1d1c2b0aba2800c92a93e9f061c5991182b2e3;hb=15686cdf56bbb6eb39f80422579c273e8ae5ffad;hp=46e329d8a4fc29c31a4dac642d9b9885af5e2791;hpb=696e4ba393c658d5b2e1fe46e1389bd7b2cfdb34;p=quix0rs-gnu-social.git diff --git a/plugins/TabFocus/TabFocusPlugin.php b/plugins/TabFocus/TabFocusPlugin.php index 46e329d8a4..1b1d1c2b0a 100644 --- a/plugins/TabFocus/TabFocusPlugin.php +++ b/plugins/TabFocus/TabFocusPlugin.php @@ -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) @@ -51,7 +51,7 @@ class TabFocusPlugin extends Plugin 'author' => 'Craig Andrews and Paul Irish', 'homepage' => 'http://status.net/wiki/Plugin:TabFocus', 'rawdescription' => - _m('TabFocus changes the notice form behavior so that, while in the text area, pressing the tab key focuses the "Send" button, matching the behavor of Twitter.')); + _m('TabFocus changes the notice form behavior so that, while in the text area, pressing the tab key focuses the "Send" button, matching the behavior of Twitter.')); return true; } }