Compare commits

..

No commits in common. "416c85b310357cf805226b4c83cc7bf74f5fcb8a" and "c23c862d0baccdad9d5185f2201131229efe2735" have entirely different histories.

2 changed files with 2 additions and 1 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,6 +4,7 @@ const newLinksContainer = document.getElementById('newLinksContainer');
const watchedLinksContainer = document.getElementById('watchedLinksContainer');
const PER_PAGE = 8;
let linksData = [];
let currentPage = 1;
function loadLinks() {