Skip to content

Commit

Permalink
fix: delete button on subscription form (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite authored Jul 15, 2024
1 parent d7af7cc commit 8cb4355
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.19.2";
$version = "v2.19.3";
?>
2 changes: 1 addition & 1 deletion scripts/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function fillEditFormFields(subscription) {

const deleteButton = document.querySelector("#deletesub");
deleteButton.style = 'display: block';
deleteButton.setAttribute("onClick", `deleteSubscription(${subscription.id})`);
deleteButton.setAttribute("onClick", `deleteSubscription(event, ${subscription.id})`);

const modal = document.getElementById('subscription-form');
modal.classList.add("is-open");
Expand Down

0 comments on commit 8cb4355

Please sign in to comment.