Open c01nd01r opened 4 years ago
Hi! I found a problem related to IE 11.
In IE 11, if element.classList.add() method does not receive arguments, the browser throws exception.
element.classList.add()
Similar behavior, when using the Function.prototype.apply() method
Function.prototype.apply()
In the postmate source code there is also an section that causes a similar problem
I think it can be fixed by adding an extra check for classListArgs length of array. I have a prepared Pull Request that will refer to this issue.
classListArgs
Hi! I found a problem related to IE 11.
In IE 11, if
element.classList.add()
method does not receive arguments, the browser throws exception.Similar behavior, when using the
Function.prototype.apply()
methodIn the postmate source code there is also an section that causes a similar problem
I think it can be fixed by adding an extra check for
classListArgs
length of array. I have a prepared Pull Request that will refer to this issue.