PluginProbe
Catch Gallery / 1.2
Catch Gallery v1.2
trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 All 27 releases
catch-gallery / admin / js / admin.js

admin.js in Catch Gallery 1.2, at admin/js/admin.js

28 lines 709 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (function( $ ) {
2 'use strict';
3 $(function() {
4 // Tabs
5 $('.catch_widget_settings .nav-tab-wrapper a').on('click', function(e){
6 e.preventDefault();
7
8 if( !$(this).hasClass('ui-state-active') ){
9 $('.nav-tab').removeClass('nav-tab-active');
10
11 $('.wpcatchtab').removeClass('active').fadeOut(0);
12
13 $(this).addClass('nav-tab-active');
14
15 var anchorAttr = $(this).attr('href');
16
17 $(anchorAttr).addClass('active').fadeOut(0).fadeIn(500);
18 }
19
20 });
21 });
22
23 // jQuery Match Height init for sidebar spots
24 $(document).ready(function() {
25 $('.catch-sidebar-spot .sidebar-spot-inner, .col-2 .catch-lists li, .col-3 .catch-lists li, .catch-modules').matchHeight();
26 });
27 })( jQuery );
28