Enforce keyword spacing

This commit is contained in:
Pierre Ossman
2018-09-06 17:08:19 +02:00
parent 942a312779
commit 35068204f4
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -1007,7 +1007,7 @@ const UI = {
url = UI.getSetting('encrypt') ? 'wss' : 'ws';
url += '://' + host;
if(port) {
if (port) {
url += ':' + port;
}
url += '/' + path;
@@ -1497,7 +1497,7 @@ const UI = {
},
toggleExtraKeys() {
if(document.getElementById('noVNC_modifiers')
if (document.getElementById('noVNC_modifiers')
.classList.contains("noVNC_open")) {
UI.closeExtraKeys();
} else {