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

.clear() throws Uncaught TypeError: Cannot read property 'val' of undefined #64

Closed
resting opened this issue Jun 15, 2018 · 1 comment
Closed

Comments

@resting
Copy link

resting commented Jun 15, 2018

In ghosthunter.js,

clear       : function(){
      $(this.results).empty();
      this.target.val("");
    },

this.target is undefined.

Tried to fix it by adding this.target = target after line:176 of ghosthunter.js but got a slightly different compiled version in dist folder than the one cloned.

@Windyo
Copy link
Collaborator

Windyo commented Dec 11, 2018

Closed as duplicate. Fixed with newest release.

@Windyo Windyo closed this as completed Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants