diff --git a/jquery.tablesorter.js b/jquery.tablesorter.js index c5eabf0..a9c2f81 100644 --- a/jquery.tablesorter.js +++ b/jquery.tablesorter.js @@ -865,7 +865,7 @@ return /^[-+]?\d*$/.test($.trim(s.replace(/[,.']/g, ''))); }; this.clearTableBody = function (table) { - if ($.browser.msie) { + if ($.browser && $.browser.msie) { while (table.tBodies[0].firstChild) { table.tBodies[0].removeChild(table.tBodies[0].firstChild); }