Forum Bugs

Loading CSS programmatically never calls onload

mhund
function(fileName, load, error) {
var css = document.createElement('link');
css.rel = 'stylesheet';
css.type = 'text/css';
css.href = fileName;
css.onload = load;
css.onerror = error;
document.head.appendChild(css);
};

will never call load() like normal browsers.
mikeday
Right, I will add this to the roadmap.