Skip to content

Commit

Permalink
U: rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
lizzie committed Oct 28, 2013
1 parent 5859017 commit 67ee704
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/select-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ define("arale/select/0.9.7/select-debug", [ "arale/overlay/1.1.1/overlay-debug",
this.set("selectedIndex", selectIndex);
// 如果不是原来选中的则触发 change 事件
if (oldSelectIndex !== selectIndex) {
var selected = this.options.eq(selectIndex);
this.trigger("change", selected);
var current = this.options.eq(selectIndex);
var previous = this.options.eq(oldSelectIndex);
this.trigger("change", current, previous);
}
this.hide();
return this;
Expand Down
2 changes: 1 addition & 1 deletion dist/select.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 67ee704

Please sign in to comment.