beyond-rails 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/src/js/components/Tabbox.js +4 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a4fc7989841641152627de4c651d6c726f5d6c5a2aba23b3876da97fad82aa7
4
- data.tar.gz: dcd745ce8ffb46e489dd0c1ac2293c0e0f4719d408767096bb542ff8f01d5495
3
+ metadata.gz: 6a8f6e5957af5a8ebf87ea71269fb61c3cbac77a15fee0ceddd2a23263503530
4
+ data.tar.gz: efdc73be14d5caec5d12ed6eb064fb07b3bd7bdc99f63344cad21571a64b4014
5
5
  SHA512:
6
- metadata.gz: 8522389bd4aa3eb9ad54b10df016214d9a9ab0f110db802830d5c70e8fd07ffc89a724e65d8ddd1b9b3b42f94350f0a5aeb257bee0b76390cbd8b8c16ec665f4
7
- data.tar.gz: 98c27a007dbcf56ecd3b8a9c6ffd413eebffd22beeb93643cdda6868d00bbc8804df462efab5998f95c39fa38a2f14410f99b9b7662ff945062245f51d4b64a6
6
+ metadata.gz: daaad300c7583ad1669a4d3abce886932654951c9c54810004a2bcff075631aa3931678e878832ec58ac76f112bb0e7c6ab1f3ded76e9ed06b28f29aaef79390
7
+ data.tar.gz: 0bb7a9719a4aa3929ae92faf545366ae6a8d5acd7422f8a43d8b26b3828d08bf23708dc927df2de224188fa19a0a4d07a550e25b27ddb3c47fef1a56eaeb82d4
@@ -118,11 +118,14 @@ export default class Tabbox {
118
118
  }
119
119
  if ('tabboxDropdown' in node.dataset) {
120
120
  const { optionEl } = this
121
+ if (! optionEl) {
122
+ return
123
+ }
121
124
  return this.moveSlider({
122
125
  top: node.offsetTop,
123
126
  left: node.offsetLeft,
124
127
  width: node.offsetWidth,
125
- color: optionEl ? optionEl.dataset.activeColor : node.dataset.activeColor
128
+ color: optionEl.dataset.activeColor
126
129
  })
127
130
  }
128
131
  this.moveSlider({
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmsheng