Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay is not removed in firefox 42/43 #152

Open
horans opened this issue Dec 29, 2015 · 4 comments
Open

overlay is not removed in firefox 42/43 #152

horans opened this issue Dec 29, 2015 · 4 comments

Comments

@horans
Copy link

horans commented Dec 29, 2015

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().

@Gaya
Copy link
Owner

Gaya commented Dec 30, 2015

Thanks for reporting, will take a look. Could be caused by jQuery's getScript

@amjo
Copy link

amjo commented Jan 24, 2016

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

@Gaya
Copy link
Owner

Gaya commented Jan 26, 2016

@amjo That's interesting. Maybe an event I am waiting for is not fired. Thanks!

@tmjoen
Copy link

tmjoen commented Nov 27, 2016

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants