mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(backdrop): Changed z-index for loading backdrop only. Fixes #1428
This commit is contained in:
@@ -70,6 +70,14 @@ describe('$ionicLoading service', function() {
|
||||
expect(loader.element.text()).toBe('1 content');
|
||||
}));
|
||||
|
||||
it('should add and remove backdrop-loading to backdrop', inject(function($ionicLoading, $ionicBackdrop) {
|
||||
var loader = TestUtil.unwrapPromise($ionicLoading._getLoader());
|
||||
loader.show({ templateUrl: 'template.html' });
|
||||
expect($ionicBackdrop._element.hasClass('backdrop-loading')).toBe(true);
|
||||
loader.hide();
|
||||
expect($ionicBackdrop._element.hasClass('backdrop-loading')).toBe(false);
|
||||
}));
|
||||
|
||||
});
|
||||
|
||||
describe('.hide()', function() {
|
||||
|
||||
Reference in New Issue
Block a user