( function( $ ) { 'use strict'; /** * Cqueal Tabs */ $( '.cqueal-tabs li a' ).on( 'click', function(e) { e.preventDefault(); $( '.cqueal-tabs li a' ).removeClass( 'active' ); $(this).addClass( 'active' ); var tab = $(this).attr( 'href' ); $( '.cqueal-settings-tab' ).removeClass( 'active' ); $( '.cqueal-settings-tabs' ).find( tab ).addClass( 'active' ); }); $( '.cqueal-get-pro' ).on( 'click', function() { swal({ title: '

Go Premium', type: 'warning', html: 'Purchase our pro version to unlock these pro components!', showCloseButton: true, showCancelButton: false, focusConfirm: true, }); } ); } )( jQuery );