This commit is contained in:
oleg.vodyanov91@gmail.com 2025-04-23 10:42:00 +04:00
parent 07d1d7d990
commit 8e9a052d34
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/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>/delete/', views.delete_link, name='delete_link'),
path('api/links/<int:link_id>/watched/', views.mark_watched, name='mark_watched'), 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 watchedLinksContainer = document.getElementById('watchedLinksContainer');
const PER_PAGE = 8; const PER_PAGE = 8;
let linksData = [];
let currentPage = 1; let currentPage = 1;
function loadLinks() { function loadLinks() {