From 200aa521ddb4c33b25b9034997cbf175c5a2fb98 Mon Sep 17 00:00:00 2001 From: Will Toohey Date: Tue, 23 Feb 2021 22:45:16 +1000 Subject: [PATCH] Give file pickers unique IDs to fix many patchers --- js/dllpatcher.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/js/dllpatcher.js b/js/dllpatcher.js index 27a7397..891a8a4 100644 --- a/js/dllpatcher.js +++ b/js/dllpatcher.js @@ -251,13 +251,14 @@ class PatchContainer { self.loadFile(files[0]); }); + var filepickerId = createID(); this.fileInput = $("", { "class": "fileInput", - "id": "any-file", + "id": filepickerId, "type": "file", }); - var label = $("