title: Geolocation not working with apple-mobile-web-app-capable?
body: <p>I have the following JS to display the current user's Zipcode in <code>#zip</code>:</p>
  
  <pre><code>(function ($, geolocation) {
      if (geolocation) {
          geolocation.getCurrentPosition(function (position) {
              $.getJSON(
                  "http://ws.geonames.org/findNearestAddressJSON?callback=?",
                  {
                      lat : position.coords.latitude,
                      lng : position.coords.longitude
                  },
                  function (data) {
                      $(function () {
                          $('#zip').text(data.address.postalcode);
                      });
                  }
              );
          });
      }
  }(jQuery, navigator.geolocation));
  </code></pre>
  
  <p>I also have a JS function to reload the page:</p>
  
  <pre><code>$('.reload').click(function(){
      window.location.reload(true);
  });
  </code></pre>
  
  <p>In Mobile Safari, these two functions work together well. If the user opens the webpage, it will load the user's current zipcode. Then, if the user changes locations, the user can reload the page by tapping the botton. <strong>This works fine, except when <code>&lt;meta name="apple-mobile-web-app-capable" content="yes"&gt;</code> is present.</strong></p>
  
  <p>When it is present, this what happens:</p>
  
  <ol>
  <li>User taps the icon on their home screen</li>
  <li>Webpage opens, with the address bar hidden, as <code>&lt;meta name="apple-mobile-web-app-capable" content="yes"&gt;</code> does this </li>
  <li>Zipcode loads like it should </li>
  <li>User moves location, taps the reload button</li>
  <li><strong>Page fails to show the zipcode, with no erros logged to the console</strong></li>
  </ol>
  
  <p>I'm really stuck on how to fix this, but if this helps at all, here's a working example:</p>
  
  <p><a href="http://www.codekraken.com/testing/zipper/zip.html" rel="nofollow">http://www.codekraken.com/testing/zipper/zip.html</a></p>