mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-04 06:43:15 +02:00
fixes the 'invalid input type' check (#498)
This commit is contained in:
parent
9c001487ba
commit
48b74a91bc
|
@ -101,7 +101,7 @@ class Choices {
|
|||
});
|
||||
}
|
||||
|
||||
if (!passedElement) {
|
||||
if (!this.passedElement) {
|
||||
return console.error('Passed element was of an invalid type');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue