commit: 7986d4cf4192df645fc29fe6df12607bb6949bd9
parent: 0724bd8168789be42964b9cb5cdd030d62f0d2d1
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sun, 4 Dec 2016 11:17:17 +0100
[fix] correct path for autoscroll on non-root urls
closes #758
Diffstat:
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
@@ -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/>');