Skip to content

Commit 4a7acdf

Browse files
committed
Update dist files with fixes from angular-ui#989
1 parent 435e499 commit 4a7acdf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/select.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.12.0 - 2015-06-05T17:52:29.869Z
4+
* Version: 0.12.0 - 2015-07-27T21:21:37.379Z
55
* License: MIT
66
*/
77

dist/select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* ui-select
33
* http://github.com/angular-ui/ui-select
4-
* Version: 0.12.0 - 2015-06-05T17:52:29.866Z
4+
* Version: 0.12.0 - 2015-07-27T21:21:37.376Z
55
* License: MIT
66
*/
77

@@ -1030,7 +1030,7 @@ uis.directive('uiSelect',
10301030
var offsetDropdown = uisOffset(dropdown);
10311031

10321032
// Determine if the direction of the dropdown needs to be changed.
1033-
if (offset.top + offset.height + offsetDropdown.height > $document[0].documentElement.scrollTop + $document[0].documentElement.clientHeight) {
1033+
if (offset.top + offset.height + offsetDropdown.height > $document.find('body')[0].scrollTop + $document[0].documentElement.clientHeight) {
10341034
dropdown[0].style.position = 'absolute';
10351035
dropdown[0].style.top = (offsetDropdown.height * -1) + 'px';
10361036
element.addClass(directionUpClassName);

dist/select.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/select.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)