Use port in UI.initSetting in include/ui.js

Because apparently it is simple enough for me to forget to include in the previous commit.
This commit is contained in:
Will Rouesnel 2013-04-23 14:32:02 +10:00
parent c42136d537
commit 58873b3222
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ start: function(callback) {
/* Populate the controls if defaults are provided in the URL */ /* Populate the controls if defaults are provided in the URL */
UI.initSetting('host', window.location.hostname); UI.initSetting('host', window.location.hostname);
UI.initSetting('port', window.location.port); UI.initSetting('port', port);
UI.initSetting('password', ''); UI.initSetting('password', '');
UI.initSetting('encrypt', (window.location.protocol === "https:")); UI.initSetting('encrypt', (window.location.protocol === "https:"));
UI.initSetting('true_color', true); UI.initSetting('true_color', true);