Skip to content

Commit

Permalink
Grunt fail
Browse files Browse the repository at this point in the history
  • Loading branch information
adamschwartz committed May 12, 2014
1 parent 79ec757 commit 62de8ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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.

5 changes: 3 additions & 2 deletions js/vex.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
close = function() {
$vexContent.trigger('vexClose', options);
$vex.remove();
$('body').trigger('vexAfterClose', options);
if (options.afterClose) {
return options.afterClose($vexContent, options);
}
Expand Down Expand Up @@ -160,9 +161,9 @@
return vex.closeByID(id);
},
setupBodyClassName: function($vex) {
return $vex.bind('vexOpen.vex', function() {
return $('body').bind('vexOpen.vex', function() {
return $('body').addClass(vex.baseClassNames.open);
}).bind('vexClose.vex', function() {
}).bind('vexAfterClose.vex', function() {
if (!vex.getAllVexes().length) {
return $('body').removeClass(vex.baseClassNames.open);
}
Expand Down
Loading

0 comments on commit 62de8ee

Please sign in to comment.