Browse Source

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 years ago
parent
commit
340290fa1d
1 changed files with 1 additions and 1 deletions
  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;