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

Errors in 'formvalidation' #1328

Closed
Netsurfer24 opened this issue May 2, 2014 · 1 comment
Closed

Errors in 'formvalidation' #1328

Netsurfer24 opened this issue May 2, 2014 · 1 comment

Comments

@Netsurfer24
Copy link

Hi all,

could it be, that there are at least 2 errors in the actual (2.8.1) 'formvalidation' function?

...
var form = createElement('form');
...
testStyles('#modernizr form{position:absolute;top:-99999em}', function( node ) {
...

Should be

...
var form = document.createElement('form');
...
Modernizr.testStyles('#modernizr form{position:absolute;top:-99999em}', function( node ) {
...

And thanks for the great work - keep going!

Greetings
Gunther

patrickkettner added a commit to patrickkettner/Modernizr that referenced this issue May 19, 2014
@patrickkettner
Copy link
Member

Hey @Netsurfer24
Thanks so much for bringing this up! It was fixed in 2.8.2

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