queryloader2
queryloader2 copied to clipboard
overlay is not removed in firefox 42/43
it seems that the loader finished its work slower in firefox (half a second slower? maybe it has something to do with loading-line fading out), and missed the chance to remove the qLtempOverlay
overlay div.
onComplete: function(){
//fix firefox bug
if(navigator.userAgent.indexOf('Firefox') !== -1){
$('#qLtempOverlay').remove();
}
}
tested on firefox 42/43
ps, in my case, the queryloader2.min.js
script is loaded via $.getScript()
.
Thanks for reporting, will take a look. Could be caused by jQuery's getScript
hello, im having the same problem on my website, and instead of being removed, it just stays there.
To add extra info to the scenario: the issue doesn't always happen, it happens when i open a new tab, and let it load in the background. after load completes, i navigate to that page and the qLtempOverlay is still there blocking everything over the web-page.
thanks
@amjo That's interesting. Maybe an event I am waiting for is not fired. Thanks!
I have a similiar problem, but with latest Chrome.
Also, my qLtempOverlay fades in to black, no matter what I set as backgroundColor
in options.
The problems started when I upgraded to 3.0.9 if that helps.
Thanks for a great plugin by the way!