diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-07-23 15:55:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 15:55:18 +0200 |
commit | 1712b9bbb2e214819508b00d8f318713e27cd949 (patch) | |
tree | f3e4701d4767f5036b60f628732c006b3a0856a8 /external/jquery-simulate | |
parent | 5e2fc44c0cf50e9bcb4f11a23ea5782653ab7eba (diff) | |
download | jquery-ui-1712b9bbb2e214819508b00d8f318713e27cd949.tar.gz jquery-ui-1712b9bbb2e214819508b00d8f318713e27cd949.zip |
Menu: Account for scrollbars in jQuery 3.2
jQuery >=3.2 doesn't include scrollbars in `.height()`, this commit switches
it to `.innerHeight()` which does so in jQuery >=3.3. In jQuery 3.2 it doesn't
either so include scrollbars in innerHeight, add it back.
Using `.innerHeight()` instead of `.height()` should be fine as menu doesn't
define padding styles.
Closes gh-1929
Diffstat (limited to 'external/jquery-simulate')
0 files changed, 0 insertions, 0 deletions