Skip to content

Commit

Permalink
code checker fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ferishili committed Dec 4, 2024
1 parent 8a1ec82 commit 5417e4d
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 35 deletions.
2 changes: 1 addition & 1 deletion amd/build/tool_maintenance.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/tool_maintenance.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions amd/src/tool_maintenance.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const init = () => {
});
enablingelement.addEventListener('change', (event) => {
selects.forEach((select) => {
select.disabled = !event.target.checked
select.disabled = !event.target.checked;
});
});
}
Expand Down Expand Up @@ -82,13 +82,14 @@ export const init = () => {
return;
}
Toast.add(jsstrings[6], {type: 'success'});
setTimeout(function() {
setTimeout(() => {
window.location.reload();
}, 3000);
return;
})
.catch((error) => Notification.exception(error));
}
)
);
});
// Make the button accessible to use after the listener is added.
btn.removeAttribute('disabled');
Expand Down
Loading

0 comments on commit 5417e4d

Please sign in to comment.