Fix rendering issue. Add active class

This commit is contained in:
YNH Webdev
2013-11-08 23:03:30 +01:00
parent 0721384b60
commit 7e69fddac9
2 changed files with 6 additions and 1 deletions

View File

@@ -55,6 +55,11 @@ feature -- Change
do
if active /= a then
active := a
if a then
add_class ("active")
else
remove_class ("active")
end
state_changes.replace (create {JSON_BOOLEAN}.make_boolean (a), "active")
end
end