changed notification auto remove time to 10 seconds
This commit is contained in:
@@ -85,17 +85,17 @@ angular.module('umbraco.services')
|
|||||||
nArray.push(item);
|
nArray.push(item);
|
||||||
|
|
||||||
if(!item.sticky) {
|
if(!item.sticky) {
|
||||||
$timeout(function() {
|
$timeout(
|
||||||
var found = _.find(nArray, function(i) {
|
function() {
|
||||||
return i.id === item.id;
|
var found = _.find(nArray, function(i) {
|
||||||
});
|
return i.id === item.id;
|
||||||
|
});
|
||||||
if (found) {
|
if (found) {
|
||||||
var index = nArray.indexOf(found);
|
var index = nArray.indexOf(found);
|
||||||
nArray.splice(index, 1);
|
nArray.splice(index, 1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}, 7000);
|
, 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
|
|||||||
Reference in New Issue
Block a user