Skip to content

Commit

Permalink
Merge pull request #214 from garybenade/patch-1
Browse files Browse the repository at this point in the history
Make sure `this.anchor` is always defined so it can be blurred later. Fixed `TypeError: Cannot read property 'blur' of undefined`
  • Loading branch information
kylefox committed Oct 18, 2017
2 parents a9b77a9 + 3c66283 commit 640c28f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
}
} else {
this.$elm = el;
this.anchor = el;
this.$body.append(this.$elm);
this.open();
}
Expand Down

0 comments on commit 640c28f

Please sign in to comment.