});
// need to move the widget for open table from the sidebar to the right off
// canvas nav when going to mobile.
+ var isInitialSizeSmall = Foundation.utils.is_small_only();
+ if (isInitialSizeSmall) {
+ $("#gg-open-table-container").detach().appendTo('#gg-open-table-mobile-container');
+ }
$(window).on('resize', Foundation.utils.throttle(function(e){
// Do responsive stuff
var isSmall = Foundation.utils.is_small_only();
});
// need to move the widget for open table from the sidebar to the right off
// canvas nav when going to mobile.
+ var isInitialSizeSmall = Foundation.utils.is_small_only();
+ if (isInitialSizeSmall) {
+ $("#gg-open-table-container").detach().appendTo('#gg-open-table-mobile-container');
+ }
$(window).on('resize', Foundation.utils.throttle(function(e){
// Do responsive stuff
var isSmall = Foundation.utils.is_small_only();