Scroller extension causes uncaught errors in xhtml files
Scroller extension causes uncaught errors in xhtml files
![druegamer](https://secure.gravatar.com/avatar/29795d83774b8b7424385b0931e46343/?default=https%3A%2F%2Fvanillicon.com%2F29795d83774b8b7424385b0931e46343_200.png&rating=g&size=120)
Using the scroller extension with an xhtml document causes an exception when the table has less than 3 rows. The offending code is on line 1029 of the Scroller 1.5.1 source: https://github.com/DataTables/Scroller/blob/1.5.1/js/dataTables.scroller.js.
This error is caused by invalid xml due to a character reference.
Changing the named entity to the numbered entity ( ) has fixed the error in my local setup.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Good point! Thanks for noting that. I've committed the fix.
Allan
Thank you, allan!