diff --git a/static/resources/NibblePoker/js/nibblepoker-core.mjs b/static/resources/NibblePoker/js/nibblepoker-core.mjs index 55d784b..94b5c36 100644 --- a/static/resources/NibblePoker/js/nibblepoker-core.mjs +++ b/static/resources/NibblePoker/js/nibblepoker-core.mjs @@ -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} */ diff --git a/templates/elements/file-input.jinja b/templates/elements/file-input.jinja index cb26552..fd9a0d7 100644 --- a/templates/elements/file-input.jinja +++ b/templates/elements/file-input.jinja @@ -7,7 +7,8 @@ {% if file_multiple %}multiple{% endif %}> {% if file_upload_button or file_clear_button %} -

+

{% if text_override == "" %} {% if file_multiple %} {{ l10n("file.drop.select.multiple", "commons", user_lang) }}