summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Lo-A-Foe <andy.loafoe@aemian.com>2016-01-20 01:03:17 +0100
committerAndy Lo-A-Foe <andy.loafoe@aemian.com>2016-01-20 01:03:17 +0100
commitb870c0117f605364fce627cfa3341f84bebbba17 (patch)
tree0aaaaf00e878953e7660ab1f9d6f51df79dc8149
parent6faabe34e8a56e247953be631a6af31a132b8b0b (diff)
downloadchat-b870c0117f605364fce627cfa3341f84bebbba17.tar.gz
chat-b870c0117f605364fce627cfa3341f84bebbba17.tar.bz2
chat-b870c0117f605364fce627cfa3341f84bebbba17.zip
Fix indentation
-rw-r--r--web/react/utils/utils.jsx14
1 files changed, 7 insertions, 7 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 92ad82739..718095757 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -1103,13 +1103,13 @@ export function getFileName(path) {
// Gets the websocket port to use. Configurable on the server.
export function getWebsocketPort(protocol) {
- if ((/^wss:/).test(protocol)) { // wss://
- return ':' + global.window.mm_config.WebsocketSecurePort;
- }
- if ((/^ws:/).test(protocol)) {
- return ':' + global.window.mm_config.WebsocketPort;
- }
- return '';
+ if ((/^wss:/).test(protocol)) { // wss://
+ return ':' + global.window.mm_config.WebsocketSecurePort;
+ }
+ if ((/^ws:/).test(protocol)) {
+ return ':' + global.window.mm_config.WebsocketPort;
+ }
+ return '';
}
export function getSessionIndex() {