mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
finished new download page, the build script still hasn't been written
This commit is contained in:
parent
6d98dc9a33
commit
a05edd6138
1 changed files with 10 additions and 1 deletions
11
download.php
11
download.php
|
@ -73,7 +73,16 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
function download()
|
||||
{
|
||||
var url = "build.php?web=true&modules=",
|
||||
checkboxes = document.querySelectorAll("input[type=checkbox]");
|
||||
for(var i = 0; i < checkboxes.length; i++)
|
||||
{
|
||||
url += encodeURIComponent(checkboxes[i].id);
|
||||
}
|
||||
location.href = url;
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue