diff --git a/jquery.modal.js b/jquery.modal.js index 2c3bcce..236cf10 100644 --- a/jquery.modal.js +++ b/jquery.modal.js @@ -73,6 +73,7 @@ } } else { this.$elm = el; + this.anchor = el; this.$body.append(this.$elm); this.open(); }