testing onload click to auto expand footable data
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 11 Apr 2016 20:17:08 +0000 (16:17 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 11 Apr 2016 20:17:08 +0000 (16:17 -0400)
js/app.js
js/custom/pageSetup.js

index f7f6fee..2630de1 100644 (file)
--- 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());
 });
index a2110f5..8e700e9 100644 (file)
@@ -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());
 });