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

LL and LESS #11

Closed
intellilogic opened this issue Dec 11, 2017 · 2 comments
Closed

LL and LESS #11

intellilogic opened this issue Dec 11, 2017 · 2 comments

Comments

@intellilogic
Copy link

intellilogic commented Dec 11, 2017

Because LL is ready before LESS has finished rendering the page, the lavalamp-object is often out of place.
Here’s the solution i placed in a later JS file:
if(less||false){ less.pageLoadFinished.then(function(){ $('.lavalamp .active').mouseover() }) }

@Richard1320
Copy link
Owner

You can also run the update method with $('.lavalamp').lavalamp('update');

@intellilogic
Copy link
Author

intellilogic commented Dec 12, 2017

Perfect:
if(less||false){ less.pageLoadFinished.then(function(){ $('.lavalamp').lavalamp('update') }) }

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