Removes ng-animate. Fix animation

This commit is contained in:
Gustavo Maximiliano Cortez 2015-05-07 19:02:38 -03:00
commit a5ae8f1803
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
9 changed files with 40 additions and 91 deletions

View file

@ -35,11 +35,16 @@ angular.module('copayApp.services').factory('txStatus', function($modal, lodash,
};
if (cb) $timeout(cb, 100);
};
$modal.open({
var modalInstance = $modal.open({
templateUrl: 'views/modals/tx-status.html',
windowClass: 'full popup-tx-status closeModalAnimation',
controller: ModalInstanceCtrl,
});
modalInstance.result.finally(function() {
var m = angular.element(document.getElementsByClassName('reveal-modal'));
m.addClass('animated slideOutDown');
});
};
return root;