Fixed a typo. Thanks to brushtyler on github.

This commit is contained in:
OldGregg
2014-03-01 16:36:21 -05:00
parent 78cf01c1fd
commit 1ed9b9eeeb

View File

@@ -28,7 +28,7 @@ ctl = (type, args...) ->
if type == 'Resize'
ws.send 'R' + params
if localtion.protocol == 'https:'
if location.protocol == 'https:'
ws_url = 'wss://'
else
ws_url = 'ws://'