File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ var LOADING_SET_DEPRECATED = '$ionicLoading instance.setContent() has been depre
54
54
*/
55
55
IonicModule
56
56
. constant ( '$ionicLoadingConfig' , {
57
- template : '<i class="ion-loading-d"></i>'
57
+ template : '<i class="icon ion-loading-d"></i>'
58
58
} )
59
59
. factory ( '$ionicLoading' , [
60
60
'$ionicLoadingConfig' ,
Original file line number Diff line number Diff line change 21
21
visibility : hidden ;
22
22
opacity : 0 ;
23
23
24
+ & :not (.visible ) .icon {
25
+ display : none ;
26
+ }
24
27
& .visible {
25
28
visibility : visible ;
26
29
}
Original file line number Diff line number Diff line change 19
19
. controller ( 'LoadingCtrl' , function ( $scope , $ionicLoading ) {
20
20
$scope . startLoading = function ( ) {
21
21
$ionicLoading . show ( {
22
- template : '<div>Connection problem.</div><br/><div>Please check your internet connection!</div>' ,
22
+ // template: '<div>Connection problem.</div><br/><div>Please check your internet connection!</div>',
23
23
delay : 100 ,
24
24
duration : 3000
25
25
} ) ;
You can’t perform that action at this time.
0 commit comments