summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-12-04 11:17:17 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-12-04 11:17:17 +0100
commit7986d4cf4192df645fc29fe6df12607bb6949bd9 (patch)
treee0bb0fcd3205190557042ebbaa1433c217b69ee8
parent0724bd8168789be42964b9cb5cdd030d62f0d2d1 (diff)
downloadsearxng-7986d4cf4192df645fc29fe6df12607bb6949bd9.tar.gz
searxng-7986d4cf4192df645fc29fe6df12607bb6949bd9.zip
[fix] correct path for autoscroll on non-root urls
closes #758
-rw-r--r--searx/static/plugins/js/infinite_scroll.js2
1 files changed, 1 insertions, 1 deletions
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('<div class="loading-spinner"></div>');
- $.post('/', formData, function (data) {
+ $.post('./', formData, function (data) {
var body = $(data);
$('#pagination').remove();
$('#main_results').append('<hr/>');