Resize: addHeaderResizeEvent's table parameter fix for #687

This commit is contained in:
Mottie 2014-07-17 18:28:58 -05:00
parent e861f6c3fc
commit f0d04d8b22

View File

@ -131,6 +131,7 @@ ts.storage = function(table, key, value, options) {
// Add a resize event to table headers // Add a resize event to table headers
// ************************** // **************************
ts.addHeaderResizeEvent = function(table, disable, settings) { ts.addHeaderResizeEvent = function(table, disable, settings) {
table = $(table)[0]; // make sure we're usig a dom element
var headers, var headers,
defaults = { defaults = {
timer : 250 timer : 250