Remove unused toggleConnectPanel function

This commit is contained in:
Samuel Mannehed 2017-01-23 12:16:01 +01:00
parent aa90547519
commit 0b09e9cb6f
1 changed files with 0 additions and 9 deletions

View File

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