Skip to content

Commit c77301b

Browse files
author
asiacomeau
authored
Merge pull request #2 from Mixpo/bug/PV5-2850-mobile-filter-by
Bug/pv5 2850 mobile filter by
2 parents 579d33d + a6fc14a commit c77301b

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
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.19.6 - 2018-01-10T19:40:15.878Z
4+
* Version: 0.19.6 - 2018-01-16T19:10:01.498Z
55
* License: MIT
66
*/
77

dist/select.js

Lines changed: 4 additions & 4 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.19.6 - 2018-01-10T19:40:15.785Z
4+
* Version: 0.19.6 - 2018-01-16T19:10:01.377Z
55
* License: MIT
66
*/
77

@@ -1241,10 +1241,10 @@ uis.directive('uiSelect',
12411241
}
12421242

12431243
// See Click everywhere but here event http://stackoverflow.com/questions/12931369
1244-
$document.on('click', onDocumentClick);
1244+
$document.on('click touchend', onDocumentClick);
12451245

12461246
scope.$on('$destroy', function() {
1247-
$document.off('click', onDocumentClick);
1247+
$document.off('click touchend', onDocumentClick);
12481248
});
12491249

12501250
// Move transcluded elements to their correct position in main template
@@ -1412,7 +1412,7 @@ uis.directive('uiSelect',
14121412
};
14131413

14141414
var opened = false;
1415-
1415+
14161416
scope.calculateDropdownPos = function() {
14171417
if ($select.open) {
14181418
dropdown = angular.element(element).querySelectorAll('.ui-select-dropdown');

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.

dist/select.min.js.map

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

src/uiSelectDirective.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ uis.directive('uiSelect',
201201
}
202202

203203
// See Click everywhere but here event http://stackoverflow.com/questions/12931369
204-
$document.on('click', onDocumentClick);
204+
$document.on('click touchend', onDocumentClick);
205205

206206
scope.$on('$destroy', function() {
207-
$document.off('click', onDocumentClick);
207+
$document.off('click touchend', onDocumentClick);
208208
});
209209

210210
// Move transcluded elements to their correct position in main template
@@ -372,7 +372,7 @@ uis.directive('uiSelect',
372372
};
373373

374374
var opened = false;
375-
375+
376376
scope.calculateDropdownPos = function() {
377377
if ($select.open) {
378378
dropdown = angular.element(element).querySelectorAll('.ui-select-dropdown');

0 commit comments

Comments
 (0)