mirror of
https://gitlab.com/Oreolek/salet.git
synced 2024-07-02 06:45:06 +03:00
Fixed canChoose behaviour.
This commit is contained in:
parent
9229dfb512
commit
7f7ab87d9d
|
@ -162,7 +162,7 @@ class SaletView
|
|||
optionText = "choice".l({number:i+1})
|
||||
$option = $("<li>")
|
||||
$a = $("<span>")
|
||||
if (room.canChoose.fcall(this, salet, currentRoom))
|
||||
if (room.canChoose.fcall(this, salet, currentRoom) == true)
|
||||
$a = $("<a>").attr({href: roomId})
|
||||
$a.html(optionText)
|
||||
$option.html($a)
|
||||
|
|
Loading…
Reference in a new issue