clenemt/docdash

IE 11: Object doesn't support property or method 'includes'

vago opened this issue · 2 comments

vago commented

With the removal of jquery in the latest version, the search no longer works in IE11. When trying to search, it gives above error in console.

The problem occures in search.js#contains() method,

return (a.textContent || a.innerText || "").toUpperCase().includes(m)

Issue fixed here: f20864a
And released 1.1.1

vago commented

Great, thanks for super quick fix and release! Works great.