lib/html/source/javascripts/websocket.coffee in flammarion-0.1.0 vs lib/html/source/javascripts/websocket.coffee in flammarion-0.1.1
- old
+ new
@@ -5,10 +5,10 @@
constructor: ->
host = $qs.get("host") || "localhost"
console.log "Path: #{$qs.get("path")}, Port: #{$qs.get("port")}, Host: #{host}"
@ws = new WebSocket "ws://#{host}:#{$qs.get("port")}/#{$qs.get("path")}"
@actions["__parent"] = this
- document.title = $qs.get("title") || "Flammarion Unconnected"
+ document.title = decodeURIComponent($qs.get("title")) || "Flammarion"
@ws.onopen = (msg) ->
$('body').addClass("connected")
@ws.onclose = (msg) ->
$('body').removeClass("connected")