mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
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:
commit
8ab402647b
@ -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