mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 09:07:04 +03:00
Compare commits
2 Commits
c23c862d0b
...
416c85b310
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
416c85b310 | ||
|
|
8e9a052d34 |
@ -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'),
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user