mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-24 17:13:01 +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=",
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue