Previous window.onload handlers not being called


#1

MiniProfiler injects the following JS into the page:

var o = window.onload;
window.onload = function(){{if(o)o; deferInit()}};

The intensions are good, but the old window.onload isn’t being called! It needs to be if(o) o(); instead of if(o) o;

Thanks,
Brian


#2

yeah … will fix … oops


#3

fixed on github