Remove unused toggleConnectPanel function
This commit is contained in:
parent
aa90547519
commit
0b09e9cb6f
|
@ -1052,15 +1052,6 @@ var UI;
|
|||
.classList.remove("noVNC_open");
|
||||
},
|
||||
|
||||
toggleConnectPanel: function() {
|
||||
if (document.getElementById('noVNC_connect_dlg')
|
||||
.classList.contains("noVNC_open")) {
|
||||
UI.closeConnectPanel();
|
||||
} else {
|
||||
UI.openConnectPanel();
|
||||
}
|
||||
},
|
||||
|
||||
connect: function(event, password) {
|
||||
var host = document.getElementById('noVNC_setting_host').value;
|
||||
var port = document.getElementById('noVNC_setting_port').value;
|
||||
|
|
Loading…
Reference in New Issue