PluginProbe
AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI / 6.0.4
AutomatorWP – No-Code Workflow Automation, Integration & Webhooks Plugin, now with AI v6.0.4
6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.7.9.2 5.7.9.1 5.7.8 5.7.9 5.7.6 5.7.7 5.7.5 5.7.4 5.7.3 5.7.2 5.7.1 trunk 5.6.0 All 35 releases
← All changes | libraries/cmb2-tabs/js/tabs.js +3 -2 5.8.5 → 6.0.4 View file →
@@ -19,14 +19,15 @@
19 19
20 20 if( ! tab.hasClass('active') ) {
21 21 var tabs = tab.closest('.cmb-tabs');
22 22 var form = tabs.next('.cmb2-wrap');
23 + var tabs_speed = tabs.data('speed');
23 24
24 25 // Hide current active tab fields
25 - form.find(tabs.find('.cmb-tab.active').data('fields')).fadeOut('fast', function() {
26 + form.find(tabs.find('.cmb-tab.active').data('fields')).fadeOut(tabs_speed, function() {
26 27 $(this).removeClass('cmb-tab-active-item');
27 28
28 - form.find(tab.data('fields')).fadeIn('fast', function() {
29 + form.find(tab.data('fields')).fadeIn(tabs_speed, function() {
29 30 $(this).addClass('cmb-tab-active-item');
30 31
31 32 // Support for groups and repeatable fields
32 33 $(this).find('.cmb-repeat-table .cmb-row, .cmb-repeatable-group .cmb-row').addClass('cmb-tab-active-item');