Closed gsheppard closed 10 months ago
+ ∞ and - ∞ buttons were always disabled.
+ ∞
- ∞
The data was being derived directly from the button element, and thus was a string. A strict comparison of Infinity === 'Infinity' will always return false.
Infinity === 'Infinity'
Issue:
+ ∞
and- ∞
buttons were always disabled.Cause:
The data was being derived directly from the button element, and thus was a string. A strict comparison of
Infinity === 'Infinity'
will always return false.