mirror of https://github.com/davisking/dlib.git
Made the download button link to zip files when viewed from windows.
This commit is contained in:
parent
bf57e86a3c
commit
6795d931b7
|
@ -155,6 +155,17 @@ function BigToggle(node)
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
function init_page()
|
||||
{
|
||||
if (navigator.appVersion.indexOf("Win")!=-1)
|
||||
{
|
||||
var a = document.getElementById("download_button");
|
||||
a.href = a.href.replace("tar.bz2", "zip");
|
||||
}
|
||||
}
|
||||
window.onload = init_page;
|
||||
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
|
|
Loading…
Reference in New Issue