lato 3.10.2 → 3.10.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f45b94061e1d1f1c1755637ff86f2ae9f20dab616ef82915ccc418c3dea27f8c
4
- data.tar.gz: f2a0cc9193e80ea5295ddbafd954aa394f149204ca9117e20d9eaa097bef03dc
3
+ metadata.gz: e00cca9110424c452feab9aea4a1f4b812f3af01b0f863aff89d6d9f2736de72
4
+ data.tar.gz: 0af37bfd2eb48b193353ec7a54f1155906efa746a9df70d4cb3b09c44598b978
5
5
  SHA512:
6
- metadata.gz: 21d76f318792b1542778fa0be09cf20b35b616175357e6e8924899e6b3cc3ec58f43660e5b0383596463d34c36d6f0ebf477652250f529c14f0edf948f2666e2
7
- data.tar.gz: 0dc185834763c0b2a13e8ad21229f3128af0c68694c8cf4d2b474e18008495b32908c993f238f1c3bc86d9e4a94e195d3daa241272fbfc0083fff923874d0866
6
+ metadata.gz: 9aa8aaee2ebc20f2340b298d39a43275bd8c96d6454fdb5b8da1622c87af18702e0afcf9ac38d26a24092b8a03834671e5de8306e93b19d5c9d6071890bba081
7
+ data.tar.gz: 29075530da5562decca1a38f13197d3f627c97f83012652661ec4841f78e4689b399b02b44717235e95cbd4f855bf8b775318ea5c8fef491e604bae7144253aa
@@ -7,6 +7,17 @@ export default class extends Controller {
7
7
 
8
8
  connect() {
9
9
  this.tooltip = new bootstrap.Tooltip(this.element)
10
+
11
+ // HACK: Force tooltip to be closed when a boostrap modal is opened/closed
12
+ const modals = document.querySelectorAll('.modal')
13
+ modals.forEach((modal) => {
14
+ modal.addEventListener('show.bs.modal', () => {
15
+ setTimeout(() => this.tooltip.hide(), 0)
16
+ })
17
+ modal.addEventListener('hide.bs.modal', () => {
18
+ setTimeout(() => this.tooltip.hide(), 0)
19
+ })
20
+ })
10
21
  }
11
22
 
12
23
  disconnect() {
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "3.10.2"
2
+ VERSION = "3.10.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.2
4
+ version: 3.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-14 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails