mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 04:37:04 +03:00
Merge pull request #16 from olegvodyanov/add_pagination
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
fix
This commit is contained in:
commit
416c85b310
@ -9,4 +9,4 @@ urlpatterns = [
|
||||
path('api/links/add/', views.add_link, name='add_link'),
|
||||
path('api/links/<int:link_id>/delete/', views.delete_link, name='delete_link'),
|
||||
path('api/links/<int:link_id>/watched/', views.mark_watched, name='mark_watched'),
|
||||
]
|
||||
]
|
||||
|
||||
@ -4,7 +4,6 @@ const newLinksContainer = document.getElementById('newLinksContainer');
|
||||
const watchedLinksContainer = document.getElementById('watchedLinksContainer');
|
||||
|
||||
const PER_PAGE = 8;
|
||||
let linksData = [];
|
||||
let currentPage = 1;
|
||||
|
||||
function loadLinks() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user