thedevdojo / pines

The Pines UI library
https://devdojo.com/pines
2.13k stars 86 forks source link

fix positioning check #29

Closed browner12 closed 5 months ago

browner12 commented 6 months ago

calling include on a string, and passing an array is not accomplishing the intended purpose. we really want to call .include() on an array, and pass the checked string.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes

tnylea commented 5 months ago

You rock 🤘