Skip to content

Commit

Permalink
Fixing typo (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
Omcsesz committed May 2, 2022
1 parent 788f74d commit def256f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tagify.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Tagify( input, settings ){
if( !input ){
console.warn('Tagify:', 'input element not found', input)
// return an empty mock of all methods, so the code using tagify will not break
// because it might be calling methods even though the input element does not exists
// because it might be calling methods even though the input element does not exist
const mockInstance = new Proxy(this, { get(){ return () => mockInstance } })
return mockInstance
}
Expand Down

0 comments on commit def256f

Please sign in to comment.