From 82a8a6852af2b88304087db003957f6f8d3102ff Mon Sep 17 00:00:00 2001 From: Mottie Date: Wed, 23 Apr 2014 18:52:07 -0500 Subject: [PATCH] Apply widgets initially after a short delay --- js/jquery.tablesorter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index 99267e53..c6601c16 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -1016,7 +1016,9 @@ setHeadersCss(table); if (c.initWidgets) { // apply widget format - ts.applyWidget(table, false); + setTimeout(function(){ + ts.applyWidget(table, false); + }, 0); } }