Fixed broken upload buttons by changing ID in JS

Update nibblepoker-core.mjs and file-input.jinja
This commit is contained in:
2025-09-13 16:24:29 +02:00
parent 2eb9d5c7a5
commit abd7046fe2
2 changed files with 4 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ export function initCore() {
//showContentModal(eContentModal);
// FIXME: Fix this shit !
// FIXME: Fix the modals, this is hindering many things !
//[eContentModal, document.getElementById("modal-content-cross"), eContentModalInner].forEach(value => {
// value.onclick = function() {
// fadeOut(eContentModal, 175).then(r => {
@@ -47,7 +47,7 @@ export function initCore() {
});*/
// Setting up the file drop inputs
document.querySelectorAll(".np-file-input-root-container").forEach(eRootContainer => {
document.querySelectorAll(".np-file-input-drop-container").forEach(eRootContainer => {
//console.log(eRootContainer);
/** @type {HTMLInputElement} */