Skip to content

Commit

Permalink
Hide date picker clicking outside it
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed May 31, 2022
1 parent 64add2d commit 7c2b209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions dist/bootstrap-editable/js/bootstrap-editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -5114,9 +5114,7 @@ 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.picker.is(e.target) ||
this.picker.find(e.target).size()
this.picker.is(e.target)
)) {
this.hide();
}
Expand Down
Loading

0 comments on commit 7c2b209

Please sign in to comment.