mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 09:53:08 +02:00
style: fix biome check errors (import order + formatting)
npx biome check reported 14 errors on app/public/assets/css/,
app/public/assets/js/app/ and scripts/:
- assist/source/organizeImports: scripts/css-content-sources.mjs,
scripts/css-unused-report.mjs
- format: 9 CSS files + 3 JS files
Fixed via biome check --write. Verified: npx biome check clean,
npm run build succeeds, PHPUnit 316 tests / 628 assertions pass.
This commit is contained in:
@@ -46,8 +46,7 @@
|
||||
|
||||
// Update active tab class after each HTMX swap on #sys-log-view
|
||||
document.body.addEventListener("htmx:afterSwap", (evt) => {
|
||||
if (!(evt.detail.target && evt.detail.target.id === "sys-log-view"))
|
||||
return;
|
||||
if (!(evt.detail.target && evt.detail.target.id === "sys-log-view")) return;
|
||||
var rc = evt.detail.requestConfig;
|
||||
var tab = null;
|
||||
// Tab clicks carry ?tab=… in the path
|
||||
|
||||
@@ -904,9 +904,12 @@
|
||||
var inputId = inputIdMap[queueType] || null;
|
||||
var input = inputId ? document.getElementById(inputId) : null;
|
||||
console.log(
|
||||
"[relink] looking for input | queueType=" + queueType +
|
||||
" | inputId=" + inputId +
|
||||
" | found=" + !!input,
|
||||
"[relink] looking for input | queueType=" +
|
||||
queueType +
|
||||
" | inputId=" +
|
||||
inputId +
|
||||
" | found=" +
|
||||
!!input,
|
||||
);
|
||||
var closeModal = () => {
|
||||
var modal = document.getElementById("relink-modal");
|
||||
@@ -917,17 +920,19 @@
|
||||
console.log(`[relink] looking for pond | found=${!!pond}`);
|
||||
if (pond) {
|
||||
pond
|
||||
.addFiles([{
|
||||
source: String(data.id),
|
||||
options: {
|
||||
type: "local",
|
||||
file: {
|
||||
name: fileName,
|
||||
size: fileSize,
|
||||
type: mimeType,
|
||||
.addFiles([
|
||||
{
|
||||
source: String(data.id),
|
||||
options: {
|
||||
type: "local",
|
||||
file: {
|
||||
name: fileName,
|
||||
size: fileSize,
|
||||
type: mimeType,
|
||||
},
|
||||
},
|
||||
},
|
||||
}])
|
||||
])
|
||||
.then(() => {
|
||||
console.log(
|
||||
"[relink] addFile resolved | source=" +
|
||||
@@ -1028,17 +1033,19 @@
|
||||
var pond = FilePond.find(input);
|
||||
if (pond) {
|
||||
pond
|
||||
.addFiles([{
|
||||
source: String(data.id),
|
||||
options: {
|
||||
type: "local",
|
||||
file: {
|
||||
name: name,
|
||||
size: 0,
|
||||
type: "video/mp4",
|
||||
.addFiles([
|
||||
{
|
||||
source: String(data.id),
|
||||
options: {
|
||||
type: "local",
|
||||
file: {
|
||||
name: name,
|
||||
size: 0,
|
||||
type: "video/mp4",
|
||||
},
|
||||
},
|
||||
},
|
||||
}])
|
||||
])
|
||||
.then(() => {
|
||||
console.log("[pt-relink] addFile resolved");
|
||||
closeModal();
|
||||
|
||||
@@ -360,7 +360,9 @@
|
||||
});
|
||||
const oldToolbar = container.querySelector(".pdf-toolbar");
|
||||
if (oldToolbar) oldToolbar.remove();
|
||||
renderAllPages(container, pdfDoc).then(() => buildToolbar(container, pdfDoc));
|
||||
renderAllPages(container, pdfDoc).then(() =>
|
||||
buildToolbar(container, pdfDoc),
|
||||
);
|
||||
}
|
||||
|
||||
// ── Bootstrap ──────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user