From 7986d4cf4192df645fc29fe6df12607bb6949bd9 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 4 Dec 2016 11:17:17 +0100 Subject: [PATCH] [fix] correct path for autoscroll on non-root urls closes #758 --- searx/static/plugins/js/infinite_scroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/static/plugins/js/infinite_scroll.js b/searx/static/plugins/js/infinite_scroll.js index 213f74b15..9cd582d7f 100644 --- a/searx/static/plugins/js/infinite_scroll.js +++ b/searx/static/plugins/js/infinite_scroll.js @@ -5,7 +5,7 @@ $(document).ready(function() { var formData = $('#pagination form:last').serialize(); if (formData) { $('#pagination').html('
'); - $.post('/', formData, function (data) { + $.post('./', formData, function (data) { var body = $(data); $('#pagination').remove(); $('#main_results').append('
');