|
@@ -20,7 +20,7 @@ angular.module('toaster', ['ngAnimate'])
|
|
|
type: type,
|
|
type: type,
|
|
|
title: title,
|
|
title: title,
|
|
|
body: body,
|
|
body: body,
|
|
|
- timeout: timeout,
|
|
|
|
|
|
|
+ timeout: (timeout || ('info' == type ? 1000 : 5000)),
|
|
|
bodyOutputType: bodyOutputType,
|
|
bodyOutputType: bodyOutputType,
|
|
|
clickHandler: clickHandler
|
|
clickHandler: clickHandler
|
|
|
};
|
|
};
|