WebUI: fix 'rename files' dialog cannot be opened more than once
commit49f57b10499a02a312e6057e45a973f410b52291
authorChocobo1 <Chocobo1@users.noreply.github.com>
Sun, 20 Oct 2024 08:07:13 +0000 (20 16:07 +0800)
committerGitHub <noreply@github.com>
Sun, 20 Oct 2024 08:07:13 +0000 (20 16:07 +0800)
treef0b1369c130eb5f2f46311053a0d4e2ddc6534b6
parent84372de675004642594bc294b14cba299bf25db7
WebUI: fix 'rename files' dialog cannot be opened more than once

Added an IIFE around the whole script to suppress variable redeclaration errors.

Closes #21614.
Original PR #21620.
PR #21621.
src/webui/www/private/rename_files.html