title: jquery $(window).height() is returning the document height
body: <p>I'm sure there is a simple error I'm making, but I am simply alerting <code>$(window).height()</code> and it returns the same value as <code>$(document).height()</code>.</p>
  
  <p>I am on a 13" MBA and my window height of my browsers when maximised between 780px - 820px (roughly) but each time it returns a window height identical to that of document height. In every case on the site I am working on it is over 1000px.</p>
  
  <p>What is going on here?</p>
  
  <pre><code>alert($(window).height());
  alert($(document).height()); 
  </code></pre>