luci-mod-freifunk: fix redirect url
[project/luci.git] / modules / luci-mod-freifunk / htdocs / luci-static / flashing.html
index 43e5123..f9e882f 100644 (file)
@@ -45,7 +45,7 @@
                        if( time_remaining <= 0 )
                        {
                                window.clearInterval(interval);
                        if( time_remaining <= 0 )
                        {
                                window.clearInterval(interval);
-                               location.href = 'http://' + location.hostname + '/';
+                               location.href = 'http://' + location.host + '/';
                        }
                        else
                        {
                        }
                        else
                        {