fix(print): not printing at all

This commit is contained in:
Elian Doran 2026-01-18 22:05:16 +02:00
parent a38067560b
commit 1d3d214101
No known key found for this signature in database

View File

@ -91,10 +91,17 @@ function setBodyAttributes() {
}
async function loadScripts() {
if (glob.device === "mobile") {
await import("./mobile.js");
} else {
await import("./desktop.js");
switch (glob.device) {
case "mobile":
await import("./mobile.js");
break;
case "print":
await import("./print.js");
break;
case "desktop":
default:
await import("./desktop.js");
break;
}
}