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.
This commit is contained in:
Solly Ross 2015-08-24 16:41:00 -04:00
parent abf2b09ea7
commit 340290fa1d
1 changed files with 1 additions and 1 deletions

View File

@ -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;