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

progressive animation sometimes doesn't work #72

Open
BigBrain-Industries opened this issue Mar 23, 2019 · 1 comment
Open

progressive animation sometimes doesn't work #72

BigBrain-Industries opened this issue Mar 23, 2019 · 1 comment

Comments

@BigBrain-Industries
Copy link

I've enabled progressive animation (by setting body visibility to hidden). Sometimes, it seems the body remains hidden. This happens sometimes Chrome but much more in Firefox.
I found this line in the bootstrap.js:
pass = ($(document.body).css('visibility') == 'visible') ? 1 : 0
when I debug this line, pass is sometimes 1 and sometimes 0, when refreshing on the same page (cache enabled/disabled doesn't seem to matter).
Interestingly, even when it's 1, calling $(document.body).css('visibility') in the console, immediately after that line returns hidden.

Other than that, keep up the amazing work. It took me 2 minutes to integrate this in our website and it worked on the first try.

@kristopolous
Copy link
Owner

Honestly things are probably different now then in 2013 when I wrote that. I should revisit it all. I've had dreams of a new version recently.

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

2 participants