From 482cd044e326ed50dc3a3756aa92e78c4ad51fea Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 11 Apr 2016 16:17:08 -0400 Subject: [PATCH] testing onload click to auto expand footable data --- js/app.js | 3 +++ js/custom/pageSetup.js | 3 +++ 2 files changed, 6 insertions(+) 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()); }); -- 2.17.1