dynamic_scaffold 1.12.0 → 1.12.1

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: c42e88067995f3753891fcc0e2a29aa8a8b8fd7ff9b093780f20455db67eb731
4
- data.tar.gz: 1872ac09ed02e4a0524e7bc0d26900d1e493596bcafe47b177bfda380e741d9a
3
+ metadata.gz: 285995723a10d25333538b08b7dcd5132aa84633dd1a03d7bd73bb5513e605ad
4
+ data.tar.gz: 44546b8653ba75a4752b4bae7261747a620f0df559d7e844a7d53fe3e454b8e3
5
5
  SHA512:
6
- metadata.gz: 9f893ff9dbb40db07c63c6929c11ccae374ac17e82621bf8f878325b7b2393da1f7ffc12e354ccac152579b8f888d2c66780179c015be4cb361bfa9e7837835b
7
- data.tar.gz: d2ce03bded48b344d364a737b38bed3a4aa4129b431189fcb213092c5385652cb148513aaef7bb4070ee62b53d3edd42225405335d1357947ddec65a7a374c42
6
+ metadata.gz: 4091b45f8e9048a5fa2a51065eb0fc77bd0046ebfc239d663851ff5ba8e075063092fb34b91d5b9b0b04f6a4774cd5df24e7f7147dd718fb1330a4220cc9c2b7
7
+ data.tar.gz: a83d5951cc3612b79b180a718d5bff2abe46634212c79c7dd8262c24358c7339d6a1a1fa1fbf0b38aa51ee13f5e79c2e73f48356cf0cc2249ec17dc680cb685e
@@ -1,5 +1,8 @@
1
1
  var calcWidth = function(){
2
2
  var firstRow = document.querySelector('.js-ds-list-row:first-child')
3
+ if(!firstRow){
4
+ return
5
+ }
3
6
 
4
7
  var wrapperWidth = firstRow.clientWidth
5
8
 
@@ -1,3 +1,3 @@
1
1
  module DynamicScaffold
2
- VERSION = '1.12.0'.freeze
2
+ VERSION = '1.12.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masamoto Miyata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-03 00:00:00.000000000 Z
11
+ date: 2021-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: classnames-rails-view