File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ angular.module('ui.scroll', [])
333
333
let updates = updateDOM ( ) ;
334
334
335
335
// We need the item bindings to be processed before we can do adjustment
336
- $scope . $apply ( ( ) => $timeout ( ( ) => {
336
+ $scope . $applyAsync ( ( ) => $timeout ( ( ) => {
337
337
338
338
// show elements after data binging has been done
339
339
updates . inserted . forEach ( w => w . element . removeClass ( 'ng-hide' ) ) ;
@@ -356,7 +356,7 @@ angular.module('ui.scroll', [])
356
356
let updates = updateDOM ( ) ;
357
357
358
358
// We need the item bindings to be processed before we can do adjustment
359
- $scope . $apply ( ( ) => $timeout ( ( ) => {
359
+ $scope . $applyAsync ( ( ) => $timeout ( ( ) => {
360
360
// show elements after data binging has been done
361
361
updates . inserted . forEach ( w => w . element . removeClass ( 'ng-hide' ) ) ;
362
362
updates . prepended . forEach ( w => w . element . removeClass ( 'ng-hide' ) ) ;
You can’t perform that action at this time.
0 commit comments