Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(dialog): set _open to false on init
Browse files Browse the repository at this point in the history
  • Loading branch information
gnesher authored and pkozlowski-opensource committed Mar 26, 2013
1 parent a40c3fb commit dcc9ef3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dialog/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ dialogModule.provider("$dialog", function(){
function Dialog(opts) {

var self = this, options = this.options = angular.extend({}, defaults, globalOptions, opts);
this._open = false;

this.backdropEl = createElement(options.backdropClass);
if(options.backdropFade){
Expand Down

0 comments on commit dcc9ef3

Please sign in to comment.