|
|
@ -37,7 +37,7 @@ BI.Msg = function () { |
|
|
|
eventName: BI.Toast.EVENT_DESTORY, |
|
|
|
eventName: BI.Toast.EVENT_DESTORY, |
|
|
|
action: function () { |
|
|
|
action: function () { |
|
|
|
BI.remove(toastStack, toast.element); |
|
|
|
BI.remove(toastStack, toast.element); |
|
|
|
var _height = 10; |
|
|
|
var _height = BI.SIZE_CONSANTS.TOAST_TOP; |
|
|
|
BI.each(toastStack, function (i, element) { |
|
|
|
BI.each(toastStack, function (i, element) { |
|
|
|
element.css({"top": _height}); |
|
|
|
element.css({"top": _height}); |
|
|
|
_height += element.outerHeight() + 10; |
|
|
|
_height += element.outerHeight() + 10; |
|
|
@ -46,7 +46,7 @@ BI.Msg = function () { |
|
|
|
} |
|
|
|
} |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
var height = 10; |
|
|
|
var height = BI.SIZE_CONSANTS.TOAST_TOP; |
|
|
|
BI.each(toastStack, function (i, element) { |
|
|
|
BI.each(toastStack, function (i, element) { |
|
|
|
height += element.outerHeight() + 10; |
|
|
|
height += element.outerHeight() + 10; |
|
|
|
}); |
|
|
|
}); |
|
|
|