cd2_tabs 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/cd2_tabs_cookies.js +2 -2
- data/lib/cd2_tabs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d60fc33cf67f43057f9bfffff7ce01d6dcb46f2
|
|
4
|
+
data.tar.gz: 229e268d428a5a6d25c9b8bfb85b444847b4132c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9671258298ca28c550c89997b9a460998797c4de442d2b07454e8e29d7b5f302dfd1ba5931dcb94851463f4378ed4d95c72d3374d96080795851fb4bc5d52778
|
|
7
|
+
data.tar.gz: 6391208db0aced289b23fa8f6f81070f8b316c355783d8ee498a02c31bd28dcf868277cf997970eeda7f1498145ac15d79bfb6223168a476d308f4b30750168e
|
|
@@ -17,7 +17,7 @@ $(function() {
|
|
|
17
17
|
|
|
18
18
|
// Setting on load
|
|
19
19
|
if ($('.tabs_container:first-of-type > .tab_controller')[0] != $('.tabs_container:first-of-type > .tab_controller:checked').get()[0]) {
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
Cookies.set(cookieName, $('.tabs_container:first-of-type > .tab_controller:checked').attr('value'), {
|
|
22
22
|
expires: 0.01
|
|
23
23
|
});
|
|
@@ -25,7 +25,7 @@ $(function() {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
// Delegated event listener for tab heads for when ajax loading
|
|
28
|
-
$("body").on("click", ".tab_heads_container label", function() {
|
|
28
|
+
$("body").on("click", ".tabs_container:first-of-type > .tab_heads_container > label", function() {
|
|
29
29
|
|
|
30
30
|
Cookies.set(cookieName, $(this).attr('class'), {
|
|
31
31
|
expires: 0.01
|
data/lib/cd2_tabs/version.rb
CHANGED