瀏覽代碼

UI: Fix typo preventing reconnect after password

There was a typo in ui.js preventing the use of the connect button
after a password was entered.
Solly Ross 10 年之前
父節點
當前提交
340290fa1d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/ui.js

+ 1 - 1
include/ui.js

@@ -625,7 +625,7 @@ var UI;
             UI.rfb.sendPassword($D('noVNC_password').value);
             //Reset connect button.
             $D('noVNC_connect_button').value = "Connect";
-            $D('noVNC_connect_button').onclick = UI.Connect;
+            $D('noVNC_connect_button').onclick = UI.connect;
             //Hide connection panel.
             UI.toggleConnectPanel();
             return false;