suki

Member since
suki

Recent Docs Activity

View all activity
Page Date Comment

Element.closest()


Polyfill was broken on IE and MS Edge < 15, once the loop reached HTMLDocument (parentNode of <html>) it crashed on Object doesn't support property or method 'matches'; fix inspired by this https://github.com/jonathantneal/closest/blob/master/element-clos