fixes the 'invalid input type' check (#498)

This commit is contained in:
Jeremy Hou 2019-01-21 00:46:14 -08:00 committed by Josh Johnson
parent 9c001487ba
commit 48b74a91bc

View file

@ -101,7 +101,7 @@ class Choices {
});
}
if (!passedElement) {
if (!this.passedElement) {
return console.error('Passed element was of an invalid type');
}