Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

overlay emit close on close

  • Loading branch information...
commit 8cd67991b3fb81154e77fd468f85b00860faf706 1 parent d75189a
@pgherveou pgherveou authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/components/overlay/overlay.js
View
2  lib/components/overlay/overlay.js
@@ -1,4 +1,3 @@
-
/**
* Expose `Overlay`.
*/
@@ -33,6 +32,7 @@ function Overlay(options) {
this.el.appendTo('body');
if (this.closable) {
this.el.click(function(){
+ self.emit('close');
self.hide();
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.