Authored by 毕凯

底部统计JS兼容 IE code review by bikai

... ... @@ -31,7 +31,11 @@ var _hmt = _hmt || [];
s.parentNode.insertBefore(hm, s);
})();
}
window.addEventListener('load', async_load, false);
if (window.addEventListener) {
window.addEventListener(type, async_load, false);
} else if (window.attachEvent) {
window.attachEvent("on" + type, async_load);
}
})();
</script>
<script>
... ... @@ -48,4 +52,4 @@ var _hmt = _hmt || [];
var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h);
}(document);
</script>
<script src="http://static.yohobuy.com/js/v3/o_code.js?v=20150420" async="async"></script>
\ No newline at end of file
<script src="http://static.yohobuy.com/js/v3/o_code.js?v=20150420" async="async"></script>
... ...