lato 0.1.39 → 0.1.40

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: e0abfeb278039b9f9bbe46997987eb13445868c970b380ac534cb907bf29f772
4
- data.tar.gz: 3c1245e51048ce9954cd88ed89341a4e66d692d1fd9f5a6acd95632702921cec
3
+ metadata.gz: 247fabb5391e65cf82f4e01e433e5b0300997f26aeaf4afa1777b2a40954929e
4
+ data.tar.gz: ab0bab734ed69139b23d943c7370182b04999b1e7885ee85113c6d087c8a06cd
5
5
  SHA512:
6
- metadata.gz: 4dfc268cf9ee491e54db23903968779cfcea40d01b646f98471ae3e1a1a9b9892e620f2166ffea99d7fa2b566c0cb3e2c5865b4823cafdf1c282866be0d31cbc
7
- data.tar.gz: 433221de6eb4141e80615865d1c3d0188ba7f4dcdc06081b06319b9a3f5706932f00a58b317411f23c2189ba589b0aa9669a86157f1ad1b7f2e788c440d8f57f
6
+ metadata.gz: 94557413fa041c0fda74f38d84f881db83d2478e20adffde85d85e25be440e1f236539973b8702a5f5de7b0966df82876441f0645cb9b8819af8103347ae66f2
7
+ data.tar.gz: e1468aa0ec0fc21459e2b194556798f45e34e8b83396fc2756a651fb255f87cfaf5f732fe1d7e347003bb6c69a0b307ac3dbf357d9fcc59ccac3ba5164047ee1
@@ -4,3 +4,8 @@ import "@hotwired/turbo-rails"
4
4
  import "bootstrap"
5
5
  // Import controllers (stimulus rails)
6
6
  import "controllers"
7
+
8
+ // Close sidebar before page change with turbo
9
+ document.addEventListener("turbo:before-visit", () => {
10
+ document.body.classList.remove('aside-open')
11
+ })
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.39"
2
+ VERSION = "0.1.40"
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: 0.1.39
4
+ version: 0.1.40
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-03 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails