]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Fix #2418 Firefox old version compatibility 2637/head
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Tue, 24 May 2016 22:04:59 +0000 (00:04 +0200)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Wed, 25 May 2016 20:51:41 +0000 (22:51 +0200)
commit08de9faf103d6b490dc87e6c436a8d5cb8ae00dc
treee21c53756918f3e7841d916b3cba63d8861f1d95
parente3943174cc67c7f99c9a514c803f8355598b6ec5
Fix #2418 Firefox old version compatibility

Old versions of FF doesn't accept accessing the computed style via the 'max-width' and 'max-height' CSS notations using brackets, in which case the returned value is undefined. Changed the constraint methods to use maxWidth and mawHeight instead and make sure to test valid values.
src/core/core.helpers.js