Skip to content

Commit

Permalink
hide date selector clicking outside
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed Jun 2, 2022
1 parent 64add2d commit 9f8bffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/bootstrap-editable/js/bootstrap-editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -5114,9 +5114,9 @@ Editableform based on Twitter Bootstrap 2
// Clicked outside the datepicker, hide it
if (!(
this.element.is(e.target) ||
this.element.find(e.target).size() ||
this.element.find(e.target).length ||
this.picker.is(e.target) ||
this.picker.find(e.target).size()
this.picker.find(e.target).length
)) {
this.hide();
}
Expand Down

0 comments on commit 9f8bffb

Please sign in to comment.