mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Fix bug where links jump to the top of the page
This commit is contained in:
parent
cb7e1d1be5
commit
1bc0f97e78
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user