diff --git a/js/client.js b/js/client.js index 7252476e2..d62d71fcb 100644 --- a/js/client.js +++ b/js/client.js @@ -28,6 +28,12 @@ window.Notification = window.webkitNotification; } + // this is called being lazy + window.selectTab = function(tab) { + app.tryJoinRoom(tab); + return false; + }; + var User = this.User = Backbone.Model.extend({ defaults: { name: '',