Skip to content

Commit d7a4b2c

Browse files
committed
Revert "bugfix for issue jquerytools#982"
This reverts commit f61ea79.
1 parent f61ea79 commit d7a4b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dateinput/dateinput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@
401401
// click outside dateinput
402402
$(document).on("click.d", function(e) {
403403
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)) {
404+
405+
if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) {
406406
self.hide(e);
407407
}
408408

0 commit comments

Comments
 (0)