lato 0.1.40 → 0.1.41
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/lato/application.js +8 -1
- data/lib/lato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c546f12dcaa130c6ba08d7d731b307f0307d994f8e60cd6ca51aa78e4d5b522
|
4
|
+
data.tar.gz: 7036a73ffcd0064d28e1e54649396dc9e5a155c691f6e2b3d52475940eb66322
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e311e0ebc391f595aca7bf74cf2937da3e9ae1b6b4409c17a2fd523ff79e519448feca8aab1c1487535e7139089f4a56af66a773389f6572fb4d66af2896ba1f
|
7
|
+
data.tar.gz: a5ad63fe639ec4fe4f6fd886502c7b1032d889b9e32e0131ee68888a2cf51bed14455de2ae5c0e0728f072a41e89a9e52804b236f96b6a31c15da11af149753d
|
@@ -6,6 +6,13 @@ import "bootstrap"
|
|
6
6
|
import "controllers"
|
7
7
|
|
8
8
|
// Close sidebar before page change with turbo
|
9
|
-
document.addEventListener("turbo:before-visit", () => {
|
9
|
+
document.addEventListener("turbo:before-visit", (e) => {
|
10
10
|
document.body.classList.remove('aside-open')
|
11
11
|
})
|
12
|
+
|
13
|
+
// Close all boostrap modals before page change with turbo
|
14
|
+
document.addEventListener("turbo:before-visit", (e) => {
|
15
|
+
document.querySelectorAll('.modal').forEach((modal) => {
|
16
|
+
modal.classList.remove('show')
|
17
|
+
})
|
18
|
+
})
|
data/lib/lato/version.rb
CHANGED
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: 0.1.
|
4
|
+
version: 0.1.41
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|