Merge pull request #77 from cyberjacob/jump-to-top-of-page

Fix bug where links jump to the top of the page
This commit is contained in:
chibicitiberiu 2019-10-20 13:50:42 +03:00 committed by GitHub
commit 8ab402647b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}); });