mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 08:52:15 -05:00
activate ngAnimate for whitelisted classes only
This commit is contained in:
parent
64abd6ad63
commit
aff3854cb9
@ -58,7 +58,7 @@ var app = angular.module('mail', [
|
||||
]);
|
||||
|
||||
// set router paths
|
||||
app.config(function($routeProvider) {
|
||||
app.config(function($routeProvider, $animateProvider) {
|
||||
$routeProvider.when('/login', {
|
||||
templateUrl: 'tpl/login.html',
|
||||
controller: LoginCtrl
|
||||
@ -102,6 +102,9 @@ app.config(function($routeProvider) {
|
||||
$routeProvider.otherwise({
|
||||
redirectTo: '/login'
|
||||
});
|
||||
|
||||
// activate ngAnimate for whitelisted classes only
|
||||
$animateProvider.classNameFilter(/^lightbox$/);
|
||||
});
|
||||
|
||||
app.run(function($rootScope) {
|
||||
|
Loading…
Reference in New Issue
Block a user