beyond-rails 1.0.10 → 1.0.11

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 +11 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a8f6e5957af5a8ebf87ea71269fb61c3cbac77a15fee0ceddd2a23263503530
4
- data.tar.gz: efdc73be14d5caec5d12ed6eb064fb07b3bd7bdc99f63344cad21571a64b4014
3
+ metadata.gz: 68fa26f3bfec394192a65a892260d63df967fa5888dea1f3e1aade82da23eaa6
4
+ data.tar.gz: dd63392d9c253ecc24e0ef487c2437fc750e6c7bab3c19d768699959d3ed2a77
5
5
  SHA512:
6
- metadata.gz: daaad300c7583ad1669a4d3abce886932654951c9c54810004a2bcff075631aa3931678e878832ec58ac76f112bb0e7c6ab1f3ded76e9ed06b28f29aaef79390
7
- data.tar.gz: 0bb7a9719a4aa3929ae92faf545366ae6a8d5acd7422f8a43d8b26b3828d08bf23708dc927df2de224188fa19a0a4d07a550e25b27ddb3c47fef1a56eaeb82d4
6
+ metadata.gz: 18ff7d5eb8318c42899ada11c4de21d6a4e0d852c08f406eaa3f9404a28c5564d2b75133160e034bf26f273f9523cdc621af9aef58ac9565939a6d78a435b77a
7
+ data.tar.gz: 8613747e90ceef8434937aa57c938b17734a0e672e19e949b1092f20d2d04dbc23096563aae3ec8a205c8ff2238b280169bfd5f21dee8189a19bd6d7b2959d21
@@ -41,6 +41,17 @@ export default class Tabbox {
41
41
  this.moveToCurrentNode()
42
42
  this.addCurrentClass()
43
43
  }
44
+ else {
45
+ this.eachDropdownOption(({ dropdownBtn, dropdownInstance, optionEl }) => {
46
+ if (optionEl.dataset.tabboxItem === name) {
47
+ this.setDropdown({
48
+ dropdownBtn,
49
+ optionEl,
50
+ dropdownInstance
51
+ })
52
+ }
53
+ })
54
+ }
44
55
  }
45
56
 
46
57
  eachDropdownOption(fn) {
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.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - kmsheng