diff --git a/html/home.html b/html/home.html index 5bce56b..6293026 100644 --- a/html/home.html +++ b/html/home.html @@ -71,6 +71,15 @@ + Port0 Mode
+
+ + +
+ @@ -177,6 +186,7 @@ onLoad(function() { makeAjaxInput("system", "name"); makeAjaxInput("telnet", "port0"); makeAjaxInput("telnet", "port1"); + makeAjaxInput("telnet", "port0mode"); fetchPins(); getWifiInfo(); getSystemInfo(); diff --git a/html/ui.js b/html/ui.js index 5e83bab..3a00ef8 100644 --- a/html/ui.js +++ b/html/ui.js @@ -401,7 +401,7 @@ function showNotification(text) { var el = $("#notification"); el.innerHTML = text; el.removeAttribute('hidden'); - // window.scrollTo(0, 0); //Uncomment this line so window will scroll up on regular notifications + window.scrollTo(0, 0); //Uncomment this line so window will scroll up on regular notifications if (notifTimeout != null) clearTimeout(notifTimeout); notifTimout = setTimeout(function() { el.setAttribute('hidden', '');