summaryrefslogtreecommitdiff
path: root/public/js/lib/views
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/lib/views')
-rw-r--r--public/js/lib/views/lobby/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/lib/views/lobby/index.js b/public/js/lib/views/lobby/index.js
index 70b63c4..0306445 100644
--- a/public/js/lib/views/lobby/index.js
+++ b/public/js/lib/views/lobby/index.js
@@ -9,7 +9,7 @@ var LobbyView = View.extend({
},
join: function(){
- var name = this.$createRoom.sanitize()
+ var name = this.$createRoom.sanitizeName()
if (! name) { return }
window.location.href = "/v/" + name
}