This commit is contained in:
2025-12-03 16:50:52 +02:00
parent 188e6ee4ee
commit 1620c941ee
+2 -2
View File
@@ -7,7 +7,7 @@ export class AppendOptions {
opts = opts || {};
if (opts.clear) {
this.replaceChildren();
target.replaceChildren();
}
let options = '';
@@ -22,6 +22,6 @@ export class AppendOptions {
Ut.each(data, (v, k) => options += `<option value="${k}">${v}`);
}
target.innerHTML = options;
target.insertAdjacentHTML('beforeend', options);
}
}