Skip to content

Commit

Permalink
Add js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Stenquist committed Jan 5, 2015
1 parent 0cfe0a8 commit 1e5cbe5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/vex.combined.min.js

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

2 changes: 1 addition & 1 deletion js/vex.dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
var $button;
$button = $("<button type=\"" + button.type + "\"></button>").text(button.text).addClass(button.className + ' vex-dialog-button ' + (index === 0 ? 'vex-first ' : '') + (index === buttons.length - 1 ? 'vex-last ' : '')).bind('click.vex', function(e) {
if (button.click) {
return button.click($(this).parents("." + vex.baseClassNames.content), e);
return button.click($(this).parents(vex.getSelectorFromBaseClass(vex.baseClassNames.content)), e);
}
});
return $button.appendTo($buttons);
Expand Down
Loading

0 comments on commit 1e5cbe5

Please sign in to comment.