Skip to content

Commit

Permalink
修改可能引发 dialog/confirm bug的 trigger 逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
crossjs committed Apr 26, 2014
1 parent 1fe8509 commit c6bb451
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/widget.js
Expand Up @@ -297,7 +297,8 @@ var Widget = Base.extend({
self.show();
});

self.hide();
// 如果有 trigger,则默认隐藏
self.element.hide();

return self;
},
Expand Down

0 comments on commit c6bb451

Please sign in to comment.