fix2 host

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
This commit is contained in:
Victor Seiji Hariki 2022-12-20 13:43:57 -03:00
parent 97a9f52b3f
commit 04f5b0a56b
No known key found for this signature in database
GPG key ID: 53D76502731B4A7C

View file

@ -187,10 +187,10 @@ function startup() {
changeSyncCursorSize(); changeSyncCursorSize();
} }
function setFixedHost(host, changePromptMessage) { function setFixedHost(h, changePromptMessage) {
const hostInput = document.getElementById("host"); const hostInput = document.getElementById("host");
host = value; host = h;
hostInput.value = host; hostInput.value = h;
hostInput.readOnly = true; hostInput.readOnly = true;
hostInput.style.cursor = "default"; hostInput.style.cursor = "default";
hostInput.style.backgroundColor = "#ddd"; hostInput.style.backgroundColor = "#ddd";