提交 0b070c6d 编写于 作者: M Minwe

resolved #164: `remove()` will detach all events, don't need `off()`

上级 910d7b4c
......@@ -38,7 +38,7 @@ define(function(require, exports, module) {
$target.removeClass('am-in');
function processAlert() {
$target.off().trigger('closed:alert:amui').remove();
$target.trigger('closed:alert:amui').remove();
}
UI.support.transition && $target.hasClass('am-fade') ?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册