mirror of
https://github.com/moparisthebest/mail
synced 2025-02-19 20:31:48 -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
|
// set router paths
|
||||||
app.config(function($routeProvider) {
|
app.config(function($routeProvider, $animateProvider) {
|
||||||
$routeProvider.when('/login', {
|
$routeProvider.when('/login', {
|
||||||
templateUrl: 'tpl/login.html',
|
templateUrl: 'tpl/login.html',
|
||||||
controller: LoginCtrl
|
controller: LoginCtrl
|
||||||
@ -102,6 +102,9 @@ app.config(function($routeProvider) {
|
|||||||
$routeProvider.otherwise({
|
$routeProvider.otherwise({
|
||||||
redirectTo: '/login'
|
redirectTo: '/login'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// activate ngAnimate for whitelisted classes only
|
||||||
|
$animateProvider.classNameFilter(/^lightbox$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
app.run(function($rootScope) {
|
app.run(function($rootScope) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user