From 3496559d8e29d73aa6ebf3c759ec81eca4c466b9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 3 Feb 2011 11:23:39 -0500 Subject: [PATCH] InfiniteScroll uses Plugin::path() --- plugins/InfiniteScroll/InfiniteScrollPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/InfiniteScroll/InfiniteScrollPlugin.php b/plugins/InfiniteScroll/InfiniteScrollPlugin.php index 50c1b5a208..b6c4fabba0 100644 --- a/plugins/InfiniteScroll/InfiniteScrollPlugin.php +++ b/plugins/InfiniteScroll/InfiniteScrollPlugin.php @@ -40,8 +40,8 @@ class InfiniteScrollPlugin extends Plugin function onEndShowScripts($action) { - $action->script('plugins/InfiniteScroll/jquery.infinitescroll.js'); - $action->script('plugins/InfiniteScroll/infinitescroll.js'); + $action->script($this->path('jquery.infinitescroll.js')); + $action->script($this->path('infinitescroll.js')); } function onPluginVersion(&$versions) -- 2.39.5