diff --git a/static/js/captiveportal.js b/static/js/captiveportal.js index b0995fc..9f9a8b9 100644 --- a/static/js/captiveportal.js +++ b/static/js/captiveportal.js @@ -33,7 +33,7 @@ function do_success() { url = 'http://' + url; } console.log('success: ' + url); - $('#error-box').html('

If you\'re not automatically redirected open your browser and try any website manually.

'); + $('#error-box').html('

If you\'re not automatically redirected click here.

'); $('#error-box').show(); $('#statusDiv').html(''); $('#approveButton').prop('disabled', false); @@ -146,7 +146,7 @@ function poll_jobs(data) { // Apple devices don't poll their captiveportal URL, // so this is for them. Android devices will do their // own polling and close the wifi-portal before this. - setTimeout(do_success, 10000); + setTimeout(do_success, 1000); } // This is reject() above.