From 1ed9b9eeebd745017dacd8d035b13e7383998554 Mon Sep 17 00:00:00 2001 From: OldGregg Date: Sat, 1 Mar 2014 16:36:21 -0500 Subject: [PATCH] Fixed a typo. Thanks to brushtyler on github. --- butterfly/static/coffees/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/butterfly/static/coffees/main.coffee b/butterfly/static/coffees/main.coffee index e427b12..35f0362 100644 --- a/butterfly/static/coffees/main.coffee +++ b/butterfly/static/coffees/main.coffee @@ -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://'