I am using a basic windows.onload function on a html page.
That's working completely fine on Firefox and Edge as expected but not working on Chrome.
I am using the below code:
jQuery(function($){
window.onload = function(){
setTimeout(function(){
jQuery("#loader").hide();
jQuery("#cont").show();
jQuery("#cont > div").hide();
jQuery("#game-start31").show();
}, 3000);
};
});
Not sure if chrome does not like my code or I have violated any terms of them.
Can anyone please let me know where I am making mistake?
Thank you.