DirectionDetector uses Plugin::path()
This commit is contained in:
parent
6494f5938c
commit
0ba450373d
|
@ -129,7 +129,7 @@ class DirectionDetectorPlugin extends Plugin {
|
|||
*/
|
||||
function onEndShowScripts($action){
|
||||
if (common_logged_in()) {
|
||||
$action->script('plugins/DirectionDetector/jquery.DirectionDetector.js');
|
||||
$action->script($this->path('jquery.DirectionDetector.js'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user