mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix ie9 Sky.startup
("Enhanced Support Across A Broad Diversity Of Customer Platform")
the deal here:
- IE9 no longer autobinds doScroll as IE <9 does
- but IE9 has DOMContentLoaded so let's use that
This commit is contained in:
@@ -23,7 +23,8 @@ if (typeof Sky === "undefined") Sky = {};
|
||||
}
|
||||
|
||||
Sky.startup = function (cb) {
|
||||
var doScroll = document.documentElement.doScroll;
|
||||
var doScroll = !document.addEventListener &&
|
||||
document.documentElement.doScroll;
|
||||
|
||||
if (!doScroll || window !== top) {
|
||||
if (loaded)
|
||||
|
||||
Reference in New Issue
Block a user