Uname:Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.25
Web Server : Apache
System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/ipprint/wp-content/themes/astra/assets/js/unminified/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/ipprint/wp-content/themes/astra/assets/js/unminified/style-guide-previewer.js
/**
 * Astra Theme Style Guide Preview Updater.
 *
 * @package Astra
 * @since  x.x.x
 */

(function($) {
    /**
     * Quick easy navigation.
     */
	jQuery(document).ready(function($) {
		document.addEventListener('AstraStyleGuideElementUpdated', function (e) {
			let element = $(document.body).find( e.detail.selector );
			let value   = e.detail.value;

			// Check if value is an object or else set the value.
			if ( typeof value === 'object' ) {
				let desktopValue = value.desktop;
				let tabletValue  = value.tablet;
				let mobileValue  = value.mobile;

				element.find( '.ast-sg-desktop' ).html( desktopValue );
				element.find( '.ast-sg-tablet' ).html( tabletValue );
				element.find( '.ast-sg-mobile' ).html( mobileValue );
			} else {
				element.html( value );
			}
		});

		let closeTrigger = $('.ast-close-tour');
		closeTrigger.on('click', function(e) {
			e.preventDefault();
			e.stopPropagation();
			$( document.body ).removeClass('ast-sg-loaded');
		});
	});
})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit