Skip to content

Commit

Permalink
fix js issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cairocoder01 committed Jun 6, 2024
1 parent 20c0008 commit 84fb8ee
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions admin/js/wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,11 @@ function onClickOptionButton(event) {
const button = formData.get('button');
if (button !== 'all') {
try {
setOption(
{
"key":button,
"value":parseOptionValue(formData.get(button))
}
)
const option = {
"key":button,
"value":parseOptionValue(formData.get(button))
};
setOption(option)
.then(() => {
const sp1 = document.createElement("span");
sp1.textContent = "Done";
Expand Down

0 comments on commit 84fb8ee

Please sign in to comment.