Browse code

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.

Nicolas Vigier authored on27/07/2017 20:14:54
Showing2 changed files
... ...
@@ -47,7 +47,7 @@
47 47
   <script type="text/javascript" src="../js/jquery.ba-bbq.min.js">
48 48
 /*  Source: https://raw.github.com/cowboy/jquery-bbq/v1.2.1/jquery.ba-bbq.js */
49 49
   </script>
50
-  <script type="text/javascript" src="../js/dlpage01.min.js">
50
+  <script type="text/javascript" src="../js/dlpage01.js">
51 51
 # /* Displays detected section */
52 52
   </script>
53 53
   <script async type="text/javascript" src="../js/jquery.accordion.min.js">
54 54
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-$(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")});
2 0
\ No newline at end of file