Update autostyle.js

This commit is contained in:
dukesrg 2015-04-27 22:50:03 +03:00
parent 3872d007b2
commit 328bfc1c9e

View File

@ -1,9 +1,9 @@
var fileref=document.createElement('link')
fileref.setAttribute('rel', 'stylesheet')
fileref.setAttribute('type', 'text/css')
fileref.setAttribute('href', '/3ds/web.css')
fileref.setAttribute('href', 'web.css')
if (navigator.platform.indexOf('Nintendo 3DS') > -1){
fileref.setAttribute('href', '/3ds/3ds.css')
fileref.setAttribute('href', '3ds.css')
window.setInterval(function(){window.scrollTo(40,220);},50);
}
document.getElementsByTagName('head')[0].appendChild(fileref)