summaryrefslogtreecommitdiff
path: root/plugins/InfiniteScroll
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/InfiniteScroll')
-rw-r--r--plugins/InfiniteScroll/InfiniteScrollPlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/InfiniteScroll/InfiniteScrollPlugin.php b/plugins/InfiniteScroll/InfiniteScrollPlugin.php
index 77ad83a51..a4d1a5d05 100644
--- a/plugins/InfiniteScroll/InfiniteScrollPlugin.php
+++ b/plugins/InfiniteScroll/InfiniteScrollPlugin.php
@@ -40,8 +40,8 @@ class InfiniteScrollPlugin extends Plugin
function onEndShowScripts($action)
{
- $action->script(common_path('plugins/InfiniteScroll/jquery.infinitescroll.js'));
- $action->script(common_path('plugins/InfiniteScroll/infinitescroll.js'));
+ $action->script('plugins/InfiniteScroll/jquery.infinitescroll.js');
+ $action->script('plugins/InfiniteScroll/infinitescroll.js');
}
function onPluginVersion(&$versions)