Here is my code:
$(document).on('load', function(){
$("html").removeClass("wf-loading");
$("body").css("opacity", 1);
console.log('Load Triggered');
});
I have tried putting this code inside and outside $(document).ready()
block but that doesn't change anything.