[feat]Use Ajax for paginating happening_now

This commit is contained in:
Jimmy 2021-04-09 17:16:16 +08:00 committed by CactusPuppy
parent 46094306af
commit 0c73d24f05
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
6 changed files with 26 additions and 14 deletions

View file

@ -54,6 +54,7 @@
//= require selectize
//= require bootstrap-select
//= require osem-survey
//= require pagy
$(document).ready(function() {
$('a[disabled=disabled]').click(function(event){
@ -63,4 +64,6 @@ $(document).ready(function() {
$('body').smoothScroll({
delegateSelector: 'a.smoothscroll'
});
window.addEventListener("load", Pagy.init);
});