mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
Bugfix: Make checkboxes in downloader work correctly
This commit is contained in:
parent
b122159566
commit
242de1e7de
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@
|
||||||
{
|
{
|
||||||
var url = "pack.php?web=true&modules=",
|
var url = "pack.php?web=true&modules=",
|
||||||
checkboxes = document.querySelectorAll("input[type=checkbox]");
|
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) + ",";
|
url += encodeURIComponent(checkboxes[i].id) + ",";
|
||||||
}
|
}
|
||||||
location.href = url;
|
location.href = url;
|
||||||
|
|
Loading…
Reference in a new issue