]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Make charts vertically responsive (#3105) (#3326)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Fri, 23 Sep 2016 15:46:17 +0000 (17:46 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Sep 2016 15:46:17 +0000 (17:46 +0200)
commit84da2e0a1056ab7959028685dc12616ac8b8fc56
tree974f4af83386e8cc87994e66bab68f534132fce4
parent88c69f5f8c842052c27347ca1a0e7ef00a69402c
Make charts vertically responsive (#3105) (#3326)

Ensure that the hidden iframe is stretched vertically in order to detect height changes. Remove the classlist check/call since it was incorrectly spelled (should be classList), but also useless since the iframe has just been generated. Also remove the callback check: addResizeListener should never be called w/o a valid callback.
src/core/core.helpers.js