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

not working in firefox #58

Open
alexanto opened this issue Oct 5, 2016 · 2 comments
Open

not working in firefox #58

alexanto opened this issue Oct 5, 2016 · 2 comments

Comments

@alexanto
Copy link

alexanto commented Oct 5, 2016

My code:

var module = $('.eventon_desc_in > p:first-child');
for (var i = module.length - 1; i >= 0; i--) {
$clamp(module[i], {clamp: 2});
}

Works like a charm in Chrome, nothing happens in Firefox however.

@jmenglis
Copy link

I noticed this as well and the two people who have maintained it have not been around to merge pull requests in. So I decided to make the change and release it under clamp-js-main on npm with credits to the two original contributors of course.

ChVince added a commit to ChVince/Clamp.js that referenced this issue Mar 16, 2018
@felipegtx
Copy link

@jmenglis you're golden!

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

3 participants