1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-28 03:56:23 -07:00

Add flag preview functionality to frontend, add flag to QR

This commit is contained in:
Eggbertx 2024-01-21 18:02:35 -08:00
parent 6a102bce6a
commit 1e29426509
2 changed files with 38 additions and 0 deletions

View file

@ -10,6 +10,7 @@ import { initStaff, createStaffMenu } from "./management/manage";
import { getPageThread } from "./postinfo";
import { prepareThumbnails, initPostPreviews } from "./postutil";
import { addPostDropdown } from "./dom/postdropdown";
import { initFlags } from "./dom/flags";
import { initQR } from "./dom/qr";
import { getBooleanStorageVal, getStorageVal } from "./storage";
@ -56,6 +57,7 @@ $(() => {
addPostDropdown($(elem));
});
$(document).on("keydown", handleKeydown);
initFlags();
setCustomCSS();
setCustomJS();
});