]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix #17964 (#17997)
authorIlias <Deilv@users.noreply.github.com>
Sun, 30 Oct 2016 21:47:14 +0000 (23:47 +0200)
committerMark Otto <markd.otto@gmail.com>
Sun, 30 Oct 2016 21:47:14 +0000 (14:47 -0700)
commitbf439363775c98d900f7ef3d6d0297fa8887ef58
treec0f2a43ba357c8829ad48d2a8d2e0617339241d7
parent5099a60ffebb5581d41b9711fb6d28c1e5dad231
Fix #17964 (#17997)

* Fix #17964

Some browsers are lazy when updating dom elements after transition effects. This can be fixed by reading element properties such as offsetHeight or offsetWidth. However, creating a function using the Function constructor just to access such element, results in a violation of Content Security Policy (where applied), which in turn crashes the application. This fix actually reverts to the way this was handled in v3 and should work as intended.
js/src/util.js