We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9a9195ec authored by Craig Andrews's avatar Craig Andrews

Used script() function to write out the javascript link

parent 304db1d3
......@@ -40,11 +40,7 @@ class InfiniteScrollPlugin extends Plugin
function onEndShowScripts($action)
{
$action->element('script',
array('type' => 'text/javascript',
'src' => common_path('plugins/InfiniteScroll/jquery.infinitescroll.min.js')),
'');
$action->script('plugins/InfiniteScroll/jquery.infinitescroll.min.js');
$loading_image = common_path('plugins/InfiniteScroll/ajax-loader.gif');
$js_string = <<<EOT
<script type="text/javascript">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment