Improve robustness of navigation footer

This commit is contained in:
David Rowe 2016-12-14 15:07:06 +13:00 committed by Seth Alves
parent 7402592232
commit 1f8323fb8f

View file

@ -220,12 +220,6 @@
}
// Load / unload.
try {
// This appears more responsive to the user but $ is not necessarily loaded in time for each marketplace.
$(document).ready(function () { onLoad(); });
}
catch (e) {
window.addEventListener("load", onLoad);
}
window.addEventListener("load", onLoad); // More robust to Web site issues than using $(document).ready().
}());