Fixed site.js

This commit is contained in:
Israel Halle 2014-04-02 23:58:54 -04:00
parent 63b8d9857c
commit dca9d90d77

View File

@ -6,10 +6,6 @@ var mac = /Mac/,
lin = /Lin/, lin = /Lin/,
lin64 = /x86_64/; lin64 = /x86_64/;
Array.prototype.forEach.call(document.querySelectorAll('[data-file]'), function(el) {
el.href = fileHost + el.getAttribute('data-file');
});
if(mac.test(userAgent)) { if(mac.test(userAgent)) {
document.getElementsByTagName('body')[0].className+=' mac'; document.getElementsByTagName('body')[0].className+=' mac';
} else if (win.test(userAgent)) { } else if (win.test(userAgent)) {