mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
fix links for tags
This commit is contained in:
parent
8e88f74c4e
commit
b7b4361758
105 changed files with 236 additions and 237 deletions
|
@ -3,10 +3,10 @@
|
|||
(function(){
|
||||
var ls = navigator.languages;
|
||||
for(var i in ls){
|
||||
if(ls[i].startsWith("en")) {location.href="en/index.html";return;}
|
||||
if(ls[i].startsWith("zh")) {location.href="zh/index.html";return;}
|
||||
if(ls[i].startsWith("en")) {location.href="en/index.html#";return;}
|
||||
if(ls[i].startsWith("zh")) {location.href="zh/index.html#";return;}
|
||||
}
|
||||
location.href="en/index.html";
|
||||
location.href="en/index.html#";
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue