diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-01-12 17:19:46 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2015-01-13 15:05:54 +0100 |
commit | 9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f (patch) | |
tree | d78bd59d06e6f6805abe8245450b96fd33fb0226 /ui/position.js | |
parent | 8cc636dd448afb8df7147640a7fbfb67f7d53623 (diff) | |
download | jquery-ui-9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f.tar.gz jquery-ui-9d0f44fd7b16a66de1d9b0d8c5e4ab954d83790f.zip |
All: Drop support for jQuery 1.6.x
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.
Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.
Fixes #10723
Closes gh-1422
Diffstat (limited to 'ui/position.js')
-rw-r--r-- | ui/position.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/position.js b/ui/position.js index 41e5b6432..1ef4d4c5b 100644 --- a/ui/position.js +++ b/ui/position.js @@ -130,11 +130,8 @@ $.position = { offset: withinElement.offset() || { left: 0, top: 0 }, scrollLeft: withinElement.scrollLeft(), scrollTop: withinElement.scrollTop(), - - // support: jQuery 1.6.x - // jQuery 1.6 doesn't support .outerWidth/Height() on documents or windows - width: isWindow || isDocument ? withinElement.width() : withinElement.outerWidth(), - height: isWindow || isDocument ? withinElement.height() : withinElement.outerHeight() + width: withinElement.outerWidth(), + height: withinElement.outerHeight() }; } }; |