1jQuery(document).ready(function($) { 2 var firstWrapper = jQuery('.page-template-svl-academy .dash-container').find('.wpb_wrapper').first(); 3 4 // Perform operations on the firstWrapper element 5 // For example: 6 firstWrapper.css({ 7 display: 'flex', 8 'column-gap': '20px', 9 'row-gap': '20px', 10 'flex-wrap': 'wrap' 11 }); 12 13// jQuery('.user-info').click(function(e) { 14// e.stopPropagation(); 15// var dropdown = jQuery('<div>').addClass('dropdown'); 16// var logoutLink = jQuery('<a>').addClass('logout-link').attr('href', 'https://svl.com?option=oauthredirect&app_name=azureb2c&redirect_url=https://www.svl.com/').text('Log Out'); 17// dropdown.append(logoutLink); 18// dropdown.insertAfter('.user-info'); 19 20// logoutLink.on('click', function(e) { 21// e.preventDefault(); 22// jQuery.ajax({ 23// url: ajax_object.ajax_url, 24// type: 'POST', 25// data: { 26// action: 'logout_action' 27// }, 28// success: function(response) { 29// // Handle the response if needed 30// window.location.href = 'https://svl.com?option=oauthredirect&app_name=azureb2c&redirect_url=https://www.svl.com/'; 31// }, 32// error: function() { 33// console.log('Error logging out'); 34// } 35// }); 36// }); 37// }); 38 39// jQuery(document).click(function(e) { 40// var target = e.target; 41// if (!$(target).is('.user-info') && !$(target).closest('.dropdown').length) { 42// jQuery('.dropdown').remove(); 43// } 44// }); 45});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.