lato 3.14.7 → 3.14.8
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7a5fc0821fc0c4c0221e63511492e33a9314bf1191390c61976ebb1af70d6e4
|
|
4
|
+
data.tar.gz: 4e78f21c86a10c0ea54517e65ff81cb6a380496e0b0ec1c72994a3a558f5880a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ac88fdeee151b4ddba181779e3fbe9346265adbac043548a02d50fa04d65a7e2bb28bbb47bc335b2da40b9182a1a552db5658f9fb100fcc6c00fe86b824869c
|
|
7
|
+
data.tar.gz: a217c3a7872cad406a4443caad7d47d6afe5b469143770314ac5e95f6a5edacdc38448122d2aaa1f9b83bf59aa90b8a42870841b6e60bb925ed6169a4f81be66
|
|
@@ -9,8 +9,9 @@ export default class extends Controller {
|
|
|
9
9
|
this.modal = new bootstrap.Modal(this.element)
|
|
10
10
|
Turbo.setConfirmMethod(this.customConfirm.bind(this))
|
|
11
11
|
|
|
12
|
-
this.element.style.zIndex = 2001
|
|
13
12
|
this.element.addEventListener('show.bs.modal', () => {
|
|
13
|
+
this.element.style.zIndex = 2001
|
|
14
|
+
|
|
14
15
|
// update backdrop z-index to be sure is always above other modals
|
|
15
16
|
setTimeout(() => { // use setTimeout because bsModalBackdropElement is not always ready after 'show.bs.modal' event
|
|
16
17
|
const bsModalBackdropElement = this.modal._backdrop._element
|
|
@@ -32,9 +33,6 @@ export default class extends Controller {
|
|
|
32
33
|
await new Promise(resolve => setTimeout(resolve, 100))
|
|
33
34
|
}
|
|
34
35
|
|
|
35
|
-
// add another await to ensure modal is fully hidden before returning
|
|
36
|
-
await new Promise(resolve => setTimeout(resolve, 500))
|
|
37
|
-
|
|
38
36
|
return this._result
|
|
39
37
|
}
|
|
40
38
|
|
data/lib/lato/version.rb
CHANGED