Bugfix: Make checkboxes in downloader work correctly

This commit is contained in:
Starbeamrainbowlabs 2018-10-31 15:05:46 +00:00
parent b122159566
commit 242de1e7de
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 2 deletions

View File

@ -81,8 +81,8 @@
{
var url = "pack.php?web=true&modules=",
checkboxes = document.querySelectorAll("input[type=checkbox]");
for(var i = 0; i < checkboxes.length; i++)
{
for(var i = 0; i < checkboxes.length; i++) {
if(!checkboxes[i].checked) continue;
url += encodeURIComponent(checkboxes[i].id) + ",";
}
location.href = url;