@lemonadejs/dropdown 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -696,11 +696,11 @@ if (!Modal && typeof (require) === 'function') {
|
|
|
696
696
|
if (self.modal) {
|
|
697
697
|
if (!(e.relatedTarget && self.el.contains(e.relatedTarget)) && !self.el.contains(e.relatedTarget)) {
|
|
698
698
|
if (!self.modal.closed) {
|
|
699
|
-
|
|
699
|
+
self.modal.closed = true;
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
|
-
})
|
|
703
|
+
});
|
|
704
704
|
// Key events
|
|
705
705
|
self.el.addEventListener('keydown', function (e) {
|
|
706
706
|
if (!self.modal.closed) {
|
package/package.json
CHANGED