Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/walla3t.corals.io/wp-content/themes/apper/assets/js/third/woo/devs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/walla3t.corals.io/wp-content/themes/apper/assets/js/third/woo/devs/wooAccountLinks.js
var $j = jQuery.noConflict();

$j( document ).on( 'ready', function() {
	"use strict";
    // Woo account Login/Register links
    acmthemesWooAccountLinks();
} );

/* ==============================================
WOOCOMMERCE ACCOUNT LOGIN/REGISTER LINKS
============================================== */
function acmthemesWooAccountLinks() {
	"use strict"

	// Return if registration disabled
	if ( $j( '.owp-account-links' ).hasClass( 'registration-disabled' ) ) {
		return;
	}
	
	// Vars
	var $login 		= $j( '.owp-account-links .login a' ),
		$register 	= $j( '.owp-account-links .register a' ),
		$col_1 		= $j( '#customer_login .col-1' ),
		$col_2 		= $j( '#customer_login .col-2' );

	// Display login form
	$login.on( 'click', function() {
		
		$j( this ).addClass( 'current' );
		$register.removeClass( 'current' );

		$col_1.siblings().stop().fadeOut( function() {
			$col_1.fadeIn();
		} );

		return false;
	} );

	// Display register form
	$register.on( 'click', function() {
		
		$j( this ).addClass( 'current' );
		$login.removeClass( 'current' );

		$col_2.siblings().stop().fadeOut( function() {
			$col_2.fadeIn();
		} );

		return false;
	} );

}

Spamworldpro Mini