We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f61ea79 commit d7a4b2cCopy full SHA for d7a4b2c
src/dateinput/dateinput.js
@@ -401,8 +401,8 @@
401
// click outside dateinput
402
$(document).on("click.d", function(e) {
403
var el = e.target;
404
- // && (el != document) fixed the FF20 bug (issue #982)
405
- if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0]) && (el != document)) {
+
+ if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) {
406
self.hide(e);
407
}
408
0 commit comments