diff options
| author | Zog | 2018-02-08 13:48:13 +0100 |
|---|---|---|
| committer | Zog | 2018-02-09 10:22:01 +0100 |
| commit | 708c2fbe2f579426972a45f9a716d844a8e825ae (patch) | |
| tree | a711770ea5c722106eed299ce5f63918de238384 /lib | |
| parent | 3e6f023f87984894c3d0c7e4d70ea65c8966f063 (diff) | |
| download | chouette-core-708c2fbe2f579426972a45f9a716d844a8e825ae.tar.bz2 | |
Refs #5669 @2h; Fix Specs
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/af83/decorator/link.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/af83/decorator/link.rb b/lib/af83/decorator/link.rb index de7106740..ee09f80dc 100644 --- a/lib/af83/decorator/link.rb +++ b/lib/af83/decorator/link.rb @@ -130,7 +130,9 @@ class AF83::Decorator::Link out[:method] = link_method out[:class] = extra_class out.delete(:link_class) + out.delete(:link_method) out[:class] += " disabled" if disabled + out[:class].strip! out[:disabled] = !!disabled out end |
