Add Amazon revenue accounting

This commit is contained in:
ZeroIchiro
2026-09-23 19:56:19 +00:00
parent ecc602831a
commit dbeb86dd6c
8 changed files with 182 additions and 95 deletions
+5 -4
View File
@@ -1,4 +1,9 @@
(() => {
document.addEventListener('submit', event => {
const message = event.target.dataset.confirm;
if (message && !window.confirm(message)) event.preventDefault();
});
const root = document.querySelector('[data-admin-app]');
if (!root) return;
@@ -48,9 +53,5 @@
root.addEventListener('click', event => {
if (event.target.matches('[data-remove-author]')) event.target.closest('[data-author-row]').remove();
});
document.addEventListener('submit', event => {
const message = event.target.dataset.confirm;
if (message && !window.confirm(message)) event.preventDefault();
});
root.querySelectorAll('[data-author-row]').forEach(bindSearch);
})();