Scroller extension causes uncaught errors in xhtml files
Scroller extension causes uncaught errors in xhtml files
druegamer
Posts: 21Questions: 5Answers: 0
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!