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.
- checksums.yaml +4 -4
- data/src/js/components/Tabbox.js +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68fa26f3bfec394192a65a892260d63df967fa5888dea1f3e1aade82da23eaa6
|
4
|
+
data.tar.gz: dd63392d9c253ecc24e0ef487c2437fc750e6c7bab3c19d768699959d3ed2a77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ff7d5eb8318c42899ada11c4de21d6a4e0d852c08f406eaa3f9404a28c5564d2b75133160e034bf26f273f9523cdc621af9aef58ac9565939a6d78a435b77a
|
7
|
+
data.tar.gz: 8613747e90ceef8434937aa57c938b17734a0e672e19e949b1092f20d2d04dbc23096563aae3ec8a205c8ff2238b280169bfd5f21dee8189a19bd6d7b2959d21
|
data/src/js/components/Tabbox.js
CHANGED
@@ -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) {
|