Fix bug where links jump to the top of the page

This commit is contained in:
Jacob Mansfield [root@Helix] 2019-09-22 19:48:13 +01:00
parent cb7e1d1be5
commit 1bc0f97e78

View File

@ -195,6 +195,7 @@ function ajaxLink_Clicked() {
csrfmiddlewaretoken: '{{ csrf_token }}' csrfmiddlewaretoken: '{{ csrf_token }}'
}); });
} }
return false;
} }
/// ///
@ -204,4 +205,4 @@ $(document).ready(function ()
{ {
$(".ajax-link").on("click", ajaxLink_Clicked); $(".ajax-link").on("click", ajaxLink_Clicked);
$("#btn_sync_now").on("click", syncNow); $("#btn_sync_now").on("click", syncNow);
}); });