Compare commits

...

2 Commits

Author SHA1 Message Date
Олег Водянов
416c85b310
Merge pull request #16 from olegvodyanov/add_pagination
All checks were successful
continuous-integration/drone/push Build is passing
fix
2025-04-23 10:42:39 +04:00
oleg.vodyanov91@gmail.com
8e9a052d34 fix 2025-04-23 10:42:00 +04:00
2 changed files with 1 additions and 2 deletions

View File

@ -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'),
]
]

View File

@ -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() {