diff --git a/lib/view.coffee b/lib/view.coffee index 417ac01..ebbf0df 100644 --- a/lib/view.coffee +++ b/lib/view.coffee @@ -162,7 +162,7 @@ class SaletView optionText = "choice".l({number:i+1}) $option = $("
  • ") $a = $("") - if (room.canChoose.fcall(this, salet, currentRoom)) + if (room.canChoose.fcall(this, salet, currentRoom) == true) $a = $("").attr({href: roomId}) $a.html(optionText) $option.html($a)