Skip to content

Commit

Permalink
fix(calendar): popup should not close when its trigger event is not c…
Browse files Browse the repository at this point in the history
…lick

* fix(calendar): focus event listener closes the popup on window click

* fix(calendar): popup should only close on window click if the calendar is on click too
  • Loading branch information
Lutonite authored Jun 10, 2020
1 parent 1d6ea76 commit 83e45ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/modules/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ $.fn.calendar = function(parameters) {
popup: $container,
on: on,
hoverable: on === 'hover',
closable: on === 'click',
onShow: onShow,
onVisible: onVisible,
onHide: settings.onHide,
Expand Down

0 comments on commit 83e45ad

Please sign in to comment.