diff --git a/responsive-tables.js b/responsive-tables.js index 1a862f1..057980d 100644 --- a/responsive-tables.js +++ b/responsive-tables.js @@ -16,7 +16,7 @@ $(document).ready(function() { } }; - $(window).load(updateTables); + updateTables(); $(window).on("redraw",function(){switched=false;updateTables();}); // An event to listen for $(window).on("resize", updateTables);