/*
 * Common functions to run on every page load:
 */

$(document).ready(function(){
  $.ajaxSetup({
    type: "GET",
    dataType: "html",
    cache: true
  });

  $.extend($.tooltip.defaults, {
    track: false,
    showBody: '||',
    showURL: false,
    delay: 250
  });

  $('.tooltip').tooltip({delay: 250});
  $('.tooltip-short').tooltip({delay: 250, extraClass: "short"});
});
