Skip to content

Commit

Permalink
Working
Browse files Browse the repository at this point in the history
  • Loading branch information
kvizdos committed Feb 12, 2019
1 parent f2a26d4 commit 08c6bf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/main.js
Expand Up @@ -266,6 +266,8 @@ function deleteLink(link, type = 0) {
$('#deleteBtn').addClass('btn-warning');
$('#deleteBtn').text("Deleting...");
var use = type == 0 ? allLinks : allSubs;
console.log(type);
console.log(link);
$.ajax({
contentType: 'application/x-www-form-urlencoded',
data: {path: use[link]['path'], type: type},
Expand Down

0 comments on commit 08c6bf7

Please sign in to comment.