Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 640c28f

Browse files
authored
Merge pull request #214 from garybenade/patch-1
Make sure `this.anchor` is always defined so it can be blurred later. Fixed `TypeError: Cannot read property 'blur' of undefined`
2 parents a9b77a9 + 3c66283 commit 640c28f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎jquery.modal.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
}
7474
} else {
7575
this.$elm = el;
76+
this.anchor = el;
7677
this.$body.append(this.$elm);
7778
this.open();
7879
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /