From f0d04d8b22123ad58e7bd714b48eaf13b4ed7078 Mon Sep 17 00:00:00 2001 From: Mottie Date: Thu, 17 Jul 2014 18:28:58 -0500 Subject: [PATCH] Resize: addHeaderResizeEvent's table parameter fix for #687 --- js/jquery.tablesorter.widgets.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/jquery.tablesorter.widgets.js b/js/jquery.tablesorter.widgets.js index fe163431..f2335f0a 100644 --- a/js/jquery.tablesorter.widgets.js +++ b/js/jquery.tablesorter.widgets.js @@ -131,6 +131,7 @@ ts.storage = function(table, key, value, options) { // Add a resize event to table headers // ************************** ts.addHeaderResizeEvent = function(table, disable, settings) { + table = $(table)[0]; // make sure we're usig a dom element var headers, defaults = { timer : 250