From: Evan Prodromou Date: Thu, 3 Feb 2011 16:23:39 +0000 (-0500) Subject: InfiniteScroll uses Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3496559d8e29d73aa6ebf3c759ec81eca4c466b9;p=quix0rs-gnu-social.git InfiniteScroll uses Plugin::path() --- 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)