mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-07 17:05:20 -04:00
Routes: Simplify actions in subscription_ajax
This commit is contained in:
parent
7e4b3b182a
commit
e453a2a682
5 changed files with 9 additions and 17 deletions
|
@ -111,7 +111,7 @@
|
|||
var count = document.getElementById('count');
|
||||
count.textContent--;
|
||||
|
||||
var url = '/subscription_ajax?action_remove_subscriptions=1&redirect=false' +
|
||||
var url = '/subscription_ajax?action=remove_subscriptions&redirect=false' +
|
||||
'&referer=' + encodeURIComponent(location.href) +
|
||||
'&c=' + target.getAttribute('data-ucid');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue