DirectionDetector uses Plugin::path()

This commit is contained in:
Evan Prodromou 2011-02-03 11:20:57 -05:00
parent 6494f5938c
commit 0ba450373d

View File

@ -129,7 +129,7 @@ class DirectionDetectorPlugin extends Plugin {
*/ */
function onEndShowScripts($action){ function onEndShowScripts($action){
if (common_logged_in()) { if (common_logged_in()) {
$action->script('plugins/DirectionDetector/jquery.DirectionDetector.js'); $action->script($this->path('jquery.DirectionDetector.js'));
} }
} }