scrivito_advanced_editors 1.3.0.rc1 → 1.3.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed774dbd6c29e194be780ba2aa788e4e630503e2
|
4
|
+
data.tar.gz: 7f7b82ca8c21dd6e5ea5787fbba526f65130ad25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d9f123e1d5e3c244d0bd654596a9af5b84eb13641941b1b021ca2dd760411caac93e3ab1b526478db8873c79e9944dc484727cf1bf46a9d340ab8b4c2ad30f
|
7
|
+
data.tar.gz: 1c8900475911ff98bfb3052cca6a236ef65d6415aa66053f57506182ea165b2eb8f5b1bd1b44a5491cd5b5de609b6a2df9a967176a7e42b155c7170e6c4d84f8
|
@@ -5,13 +5,19 @@
|
|
5
5
|
|
6
6
|
scrivito.on('content', function(content) {
|
7
7
|
var tab_list = $(content).find('.tab-list');
|
8
|
-
var active
|
8
|
+
var active;
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
$.each(tab_list, function(i,e) {
|
11
|
+
active = $(e).find('.active');
|
12
|
+
|
13
|
+
if(active.length == 0) {
|
14
|
+
// first elem in tab_list if not in small view
|
15
|
+
active = as_accordion() ? [] : $($(e).find('li')[0]);
|
16
|
+
}
|
17
|
+
|
18
|
+
$(active).addClass('active');
|
19
|
+
$($(active).data('panel-target')).addClass('active');
|
20
|
+
});
|
15
21
|
|
16
22
|
tab_list.on('click', 'li', function() {
|
17
23
|
var target = $(this).data('panel-target');
|