Commit 926192e0 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 9f6376dd
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
if(matched){ if(matched){
document.documentElement.setAttribute('mycard-version', matched[1]); document.documentElement.setAttribute('mycard-version', matched[1]);
} }
if(navigator.userAgent.indexOf('WOW64')>-1 || window.navigator.platform=='Win64'){ if(navigator.userAgent.match(/x86_64|x86-64|Win64|x64;|amd64|AMD64|WOW64|x64_64/)){
document.documentElement.setAttribute('mycard-arch', 'x64'); document.documentElement.setAttribute('mycard-arch', 'x64');
}else{ }else{
document.documentElement.setAttribute('mycard-arch', 'x86'); document.documentElement.setAttribute('mycard-arch', 'x86');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment