Missing curly bracket

This commit is contained in:
Luke Barnard 2016-09-06 10:36:44 +01:00
parent fa3387b326
commit cb4df84d49

View file

@ -228,7 +228,7 @@ var currentRoomId = null;
// Listen for when a room is viewed
dis.register(onAction);
function onAction(payload) {
if (payload.action !== "view_room")
if (payload.action !== "view_room") {
return;
}
currentRoomId = payload.room_id;