From: Anthony Talarico Date: Mon, 11 Apr 2016 20:17:08 +0000 (-0400) Subject: testing onload click to auto expand footable data X-Git-Tag: v1.0.0~10^2~16 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=482cd044e326ed50dc3a3756aa92e78c4ad51fea;p=WP-Themes%2Fairciu.git testing onload click to auto expand footable data --- diff --git a/js/app.js b/js/app.js index f7f6fee..2630de1 100644 --- a/js/app.js +++ b/js/app.js @@ -167,6 +167,9 @@ $(document).ready(function () { }); } }); + setTimeout(function() { + $(".footable-toggle").trigger('click'); + },10); $("#embedded-map-display").height($(".wu-wrapper").outerHeight() + 2); $("#embedded-map-display").find("iframe").height($(".wu-wrapper").outerHeight()); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index a2110f5..8e700e9 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -42,6 +42,9 @@ $(document).ready(function () { }); } }); + setTimeout(function() { + $(".footable-toggle").trigger('click'); + },10); $("#embedded-map-display").height($(".wu-wrapper").outerHeight() + 2); $("#embedded-map-display").find("iframe").height($(".wu-wrapper").outerHeight()); });