Don't use minified version of js/dlpage01.js for now

js/dlpage01.js has been modified, so js/dlpage01.min.js should be
updated. However I don't know how to generate this file, so let's not
use the minified version for now.
This commit is contained in:
Nicolas Vigier 2017-07-27 20:14:54 +02:00
parent 89c6c05a36
commit 89d70c9a13
No known key found for this signature in database
GPG Key ID: 07B7CFD7A0FBA062
2 changed files with 1 additions and 2 deletions

View File

@ -47,7 +47,7 @@
<script type="text/javascript" src="../js/jquery.ba-bbq.min.js">
/* Source: https://raw.github.com/cowboy/jquery-bbq/v1.2.1/jquery.ba-bbq.js */
</script>
<script type="text/javascript" src="../js/dlpage01.min.js">
<script type="text/javascript" src="../js/dlpage01.js">
# /* Displays detected section */
</script>
<script async type="text/javascript" src="../js/jquery.accordion.min.js">

1
js/dlpage01.min.js vendored
View File

@ -1 +0,0 @@
$(function(){$(".easy").css("display","none");$(".lang").css("display","block");$(".lang-alt").css("display","none");$(".expander").css("display","block");$(".sidenav").css("display","none")});function OScheck(){var a=$.client.os;if(a=="Linux"){$(".easy.linux").css("display","block")}else{if(a=="Windows"){$(".easy.windows").css("display","block")}else{if(a=="Mac"){$(".easy.mac").css("display","block")}else{if(a=="Android"){$(".easy.android").css("display","block")}else{$(".easy").css("display","block")}}}}}$(function(){OScheck()});function resetAll(){var c=document.forms;var b=c.length-1;for(var a=0;a<b;a++){c[a].reset()}}function updateLang(){var e=$(this);var d=e.attr("id");var f=e.val();var a=JSON.parse($("#version-data").text());var c="../dist/torbrowser/"+a.torbrowserbundledir+"/";var b={"win-tbb":c+"torbrowser-install-"+a.torbrowserbundle+"_"+f+".exe","osx-tbb":c+"TorBrowser-"+a.torbrowserbundleosx64+"-osx64_"+f+".dmg","osx-tbb64":c+"TorBrowser-"+a.torbrowserbundleosx64+"-osx64_"+f+".dmg","lin-tbb32":c+"tor-browser-linux32-"+a.torbrowserbundlelinux32+"_"+f+".tar.xz","lin-tbb64":c+"tor-browser-linux64-"+a.torbrowserbundlelinux64+"_"+f+".tar.xz"};$("."+d).attr("href",b[d]);$("."+d+"-sig").attr("href",b[d]+".asc")}$(function(){$(".lang").ready(updateLang);$(".lang").change(updateLang);$(".lang").css("display","block")});$(document).ready(function(){$(".onload").ready(resetAll);$(".jump").click(function(e){var b=this.href;var f=b.split("#");var a=f[1];var d=$("#"+a).offset();var c=d.top});$(window).bind("hashchange",function(b){var a=$.param.fragment();if(a=="windows"|a=="mac"|a=="linux"|a=="android"){$(".easy").css("display","none")}if(a=="windows"){$(".easy.windows").css("display","block")}else{if(a=="mac"){$(".easy.mac").css("display","block")}else{if(a=="linux"){$(".easy.linux").css("display","block")}else{if(a=="android"){$(".easy.android").css("display","block")}else{$(".easy").css("display","none");$(function(){OScheck()})}}}}});$(window).trigger("hashchange")});