navigator.onLine not always working
<p>I'm having an issue with the navigator.onLine property.</p>

<p>I'm running a simple website from a local kiosk running on a WAMP.</p>

<p>On my laptop when I test this it works. I turn off WiFi and the alert box shows up. Disconnecting the internet on the kiosk running the WAMP software does not produce the false status. Any ideas why?</p>

<pre><code>var online = navigator.onLine;

if (online == false) {

    alert("Sorry, we currently do not have Internet access.");
    location.reload();

}
</code></pre>
