From d304ff0e4df4bc9ad6741603cc25ab49f09ee54b Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Wed, 20 Apr 2016 13:02:20 +0200 Subject: [PATCH] reload location. --- static/js/captiveportal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/captiveportal.js b/static/js/captiveportal.js index 96113cd..da5d5bf 100644 --- a/static/js/captiveportal.js +++ b/static/js/captiveportal.js @@ -10,6 +10,7 @@ var debug = true; function do_success() { console.log('success: '+window.location); // Do something like refresh the window or go to another URL. + location.reload(); } // Show an error to the user