diff --git a/lib/components/overlay/overlay.js b/lib/components/overlay/overlay.js index ca14178..9292dd1 100644 --- a/lib/components/overlay/overlay.js +++ b/lib/components/overlay/overlay.js @@ -27,7 +27,7 @@ function Overlay(options) { ui.Emitter.call(this); var self = this; options = options || {}; - this.closable = options.closable; + this.closable = options.closable || true; this.el = $(html); this.el.appendTo('body'); if (this.closable) {