Commit 58873b32 authored by Will Rouesnel's avatar Will Rouesnel

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.
parent c42136d5
......@@ -69,7 +69,7 @@ start: function(callback) {
/* Populate the controls if defaults are provided in the URL */
UI.initSetting('host', window.location.hostname);
UI.initSetting('port', window.location.port);
UI.initSetting('port', port);
UI.initSetting('password', '');
UI.initSetting('encrypt', (window.location.protocol === "https:"));
UI.initSetting('true_color', true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment