[fix]Fix ajax for pagination

This commit is contained in:
Jimmy 2021-04-22 00:40:53 +08:00
parent d564de7caa
commit c4920ba85d
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$('#happening-now').html("<%= j(render 'happening_now', conference: @conference,
events_schedules: @events_schedules, pagy: @pagy,
events_schedules_length: @events_schedules_length,
events_schedules_limit: @events_schedules_limit)%>");
events_schedules_limit: @events_schedules_limit,
is_happening_next: @is_happening_next) %>");
Pagy.init(document.getElementById('happening-now'));