[fix] correct path for autoscroll on non-root urls

closes #758
This commit is contained in:
Adam Tauber 2016-12-04 11:17:17 +01:00
parent 0724bd8168
commit 7986d4cf41

View File

@ -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/>');