function pageSetUp() {

  if ($.device === "desktop"){
    // is desktop
    
    // activate tooltips
    setTimeout(function() {
      if ($("[rel=tooltip]").length) {
        $("[rel=tooltip]").tooltip();
      }
    }, 700);
    //$("[rel=tooltip]").tooltip();
  
    // activate popovers
    $("[rel=popover]").popover();
  
    // activate popovers with hover states
    $("[rel=popover-hover]").popover({
      trigger : "hover"
    });
  
    // activate inline charts
    runAllCharts();
  
    // setup widgets
    setup_widgets_desktop();
  
    //setup nav height (dynamic)
    nav_page_height();
  
    // run form elements
    runAllForms();

  } else {
    
    // is mobile
    
    // activate popovers
    $("[rel=popover]").popover();
  
    // activate popovers with hover states
    $("[rel=popover-hover]").popover({
      trigger : "hover"
    });
  
    // activate inline charts
    runAllCharts();
  
    // setup widgets
    setup_widgets_mobile();
  
    //setup nav height (dynamic)
    nav_page_height();
  
    // run form elements
    runAllForms();
    
  }

}
/*
 * PAGE SETUP
 * Description: fire certain scripts that run through the page
 * to check for form elements, tooltip activation, popovers, etc...
 */
PAGE SETUP
Description: fire certain scripts that run through the page
to check for form elements, tooltip activation, popovers, etc
PAGE SETUP Description : fire certain scripts that run through the page to check for form elements tooltip activation popovers etc
function pageSetUp() {
  if ($.device === "desktop"){
    setTimeout(function() {
      if ($("[rel=tooltip]").length) {
        $("[rel=tooltip]").tooltip();
      }
    }, 700);
    $("[rel=popover]").popover();
     with hover states
    $("[rel=popover-hover]").popover({
      trigger : "hover"
    });
    runAllCharts();
    setup_widgets_desktop();
    nav_page_height();
    runAllForms();
  } else {
    $("[rel=popover]").popover();
     with hover states
    $("[rel=popover-hover]").popover({
      trigger : "hover"
    });
    runAllCharts();
    setup_widgets_mobile();
    nav_page_height();
    runAllForms();
  }
}
function pageSetUp ( ) { if ( $ . device === "desktop" ) { setTimeout ( function ( ) { if ( $ ( "[rel=tooltip]" ) . length ) { $ ( "[rel=tooltip]" ) . tooltip ( ) ; } } , 700 ) ; $ ( "[rel=popover]" ) . popover ( ) ; $ ( "[rel=popover-hover]" ) . popover ( { trigger : "hover" } ) ; runAllCharts ( ) ; setup_widgets_desktop ( ) ; nav_page_height ( ) ; runAllForms ( ) ; } else { $ ( "[rel=popover]" ) . popover ( ) ; $ ( "[rel=popover-hover]" ) . popover ( { trigger : "hover" } ) ; runAllCharts ( ) ; setup_widgets_mobile ( ) ; nav_page_height ( ) ; runAllForms ( ) ; } }
PAGE SETUP
 Description: fire certain scripts that run through the page
 to check for form elements, tooltip activation, popovers, etc...
PAGE SETUP Description : fire certain scripts that run through the page to check for form elements tooltip activation popovers etc ...
// is desktop // activate tooltips //$("[rel=tooltip]").tooltip(); // activate popovers // activate popovers with hover states // activate inline charts // setup widgets //setup nav height (dynamic) // run form elements // is mobile // activate popovers // activate popovers with hover states // activate inline charts // setup widgets //setup nav height (dynamic) // run form elements