Gaya / Gaya/queryloader2

overlay is not removed in firefox 42/43

Open
#152 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
711
Forks
224
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.