Fix haml-lint Rubocop Style/MinMaxComparison
cop (#25974)
This commit is contained in:
parent
361dd43235
commit
bd33efdf16
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@
|
|||
%span.poll__voted
|
||||
%i.poll__voted__mark.fa.fa-check
|
||||
|
||||
%progress{ max: 100, value: percent < 1 ? 1 : percent, 'aria-hidden': 'true' }
|
||||
%progress{ max: 100, value: [percent, 1].max, 'aria-hidden': 'true' }
|
||||
%span.poll__chart
|
||||
- else
|
||||
%label.poll__option><
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue