beyond-rails 1.0.8 → 1.0.9

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 +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e9490f59fed2f6ca7d91190454c1adc7544cc0f2f30b5136541e06f69c51a0a
4
- data.tar.gz: c86b728e6dc6a4fe9f0760816c5ca80cad15549607facebc36249dbe5e21f6d1
3
+ metadata.gz: 8a4fc7989841641152627de4c651d6c726f5d6c5a2aba23b3876da97fad82aa7
4
+ data.tar.gz: dcd745ce8ffb46e489dd0c1ac2293c0e0f4719d408767096bb542ff8f01d5495
5
5
  SHA512:
6
- metadata.gz: 1c8d2d31ee9437f5dfb59d5ea45fc512f67c7f4fd8537bcf0a4df2bf0ff075d45ab497aa7cd89d0bf8e6e0c6ed6db2a3e5de396d0fa998010260fb4af61bc9e4
7
- data.tar.gz: 55f8918990c61198b5be10c2e02a3c9931f08dd3363e6c93e8f4363447c9b4ba64efbd304b9e82378eb14a4012d226ea14d15a8342089d466a402ca63b7d2dae
6
+ metadata.gz: 8522389bd4aa3eb9ad54b10df016214d9a9ab0f110db802830d5c70e8fd07ffc89a724e65d8ddd1b9b3b42f94350f0a5aeb257bee0b76390cbd8b8c16ec665f4
7
+ data.tar.gz: 98c27a007dbcf56ecd3b8a9c6ffd413eebffd22beeb93643cdda6868d00bbc8804df462efab5998f95c39fa38a2f14410f99b9b7662ff945062245f51d4b64a6
@@ -117,11 +117,12 @@ export default class Tabbox {
117
117
  return
118
118
  }
119
119
  if ('tabboxDropdown' in node.dataset) {
120
+ const { optionEl } = this
120
121
  return this.moveSlider({
121
122
  top: node.offsetTop,
122
123
  left: node.offsetLeft,
123
124
  width: node.offsetWidth,
124
- color: this.optionEl.dataset.activeColor
125
+ color: optionEl ? optionEl.dataset.activeColor : node.dataset.activeColor
125
126
  })
126
127
  }
127
128
  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.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmsheng