ftlabs / ftellipsis

Multi-line ellipsis made possible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IE9

TheRealAlan opened this issue · comments

In IE9, I'm getting this error on init:

SCRIPT5007: Unable to get property 'add' of undefined or null reference
ftellipsis.js, line 309 character 5

And in IE8, this is the error that gets thrown:

SCRIPT5007: Object expected
ftellipsis.js, line 64 character 5

These browsers are not officially supported. If you use a classList polyfill in IE9, it may work, but not guaranteed.

IE8 will not work for multiple reasons. The error you mentioned is likely due to the lack of window.getComputedStyle.