You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem is that iOS will not load such files at all. Fix should be then to remove such files selectivelly from code based on iOS detection or (can't say what influence it can have finally) to make following change in code
if (el.media.toLowerCase() == "print")
continue;
Complete function can be done as follows
function allStylesLoaded() {
// Internet Explorer's style sheet model, there's no need to do anything
if (document.createStyleSheet) return true;
// standards-compliant browsers
var el, i;
for (i = 0; el = links[i]; ++i) {
if (el.media.toLowerCase() == "print")
continue;
if (el.rel.toLowerCase() == 'stylesheet' && !isContainerReady(el)) return false;
}
for (i = 0; el = styles[i]; ++i) {
if (!isContainerReady(el)) return false;
}
return true;
}
The text was updated successfully, but these errors were encountered:
Problem is that iOS will not load such files at all. Fix should be then to remove such files selectivelly from code based on iOS detection or (can't say what influence it can have finally) to make following change in code
if (el.media.toLowerCase() == "print")
continue;
Complete function can be done as follows
function allStylesLoaded() {
// Internet Explorer's style sheet model, there's no need to do anything
if (document.createStyleSheet) return true;
// standards-compliant browsers
var el, i;
for (i = 0; el = links[i]; ++i) {
if (el.media.toLowerCase() == "print")
continue;
if (el.rel.toLowerCase() == 'stylesheet' && !isContainerReady(el)) return false;
}
for (i = 0; el = styles[i]; ++i) {
if (!isContainerReady(el)) return false;
}
return true;
}
The text was updated successfully, but these errors were encountered: