getgrav / grav-plugin-simplesearch

Grav SimpleSearch Plugin
https://getgrav.org
MIT License
44 stars 55 forks source link

Updated javascript to be compatible with IE11. #161

Closed ChrisWilcox78 closed 6 years ago

ChrisWilcox78 commented 6 years ago

Added a polyfill for Element.matches and used the Array prototype's forEach to iterate through the field NodeList so that the js is compatible with IE11.