File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -201,10 +201,10 @@ uis.directive('uiSelect',
201
201
}
202
202
203
203
// See Click everywhere but here event http://stackoverflow.com/questions/12931369
204
- $document . on ( 'click' , onDocumentClick ) ;
204
+ $document . on ( 'click touchend ' , onDocumentClick ) ;
205
205
206
206
scope . $on ( '$destroy' , function ( ) {
207
- $document . off ( 'click' , onDocumentClick ) ;
207
+ $document . off ( 'click touchend ' , onDocumentClick ) ;
208
208
} ) ;
209
209
210
210
// Move transcluded elements to their correct position in main template
@@ -372,7 +372,7 @@ uis.directive('uiSelect',
372
372
} ;
373
373
374
374
var opened = false ;
375
-
375
+
376
376
scope . calculateDropdownPos = function ( ) {
377
377
if ( $select . open ) {
378
378
dropdown = angular . element ( element ) . querySelectorAll ( '.ui-select-dropdown' ) ;
You can’t perform that action at this time.
0 commit comments