mirror of
https://gitlab.com/Oreolek/salet.git
synced 2024-07-07 01:04:25 +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})
|
optionText = "choice".l({number:i+1})
|
||||||
$option = $("<li>")
|
$option = $("<li>")
|
||||||
$a = $("<span>")
|
$a = $("<span>")
|
||||||
if (room.canChoose.fcall(this, salet, currentRoom))
|
if (room.canChoose.fcall(this, salet, currentRoom) == true)
|
||||||
$a = $("<a>").attr({href: roomId})
|
$a = $("<a>").attr({href: roomId})
|
||||||
$a.html(optionText)
|
$a.html(optionText)
|
||||||
$option.html($a)
|
$option.html($a)
|
||||||
|
|
Loading…
Reference in a new issue