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

$dirtyForms is a global variable #117

Open
hunter101 opened this issue Aug 7, 2016 · 1 comment
Open

$dirtyForms is a global variable #117

hunter101 opened this issue Aug 7, 2016 · 1 comment

Comments

@hunter101
Copy link

Looks like you're missing a var from line 159. Sorry, I would do a PR but I've gotta dash out...

@iAhmod
Copy link

iAhmod commented Aug 20, 2016

Change the Lines

        $dirtyForms = $("form").filter('.' + settings.dirtyClass);
        if ($dirtyForms.length == 0) {

To

        var dirtyForms = $("form").filter('.' + settings.dirtyClass);
        if (dirtyForms.length == 0) {

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