403Webshell
Server IP : 192.64.118.117  /  Your IP : 18.188.48.106
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/mobilecreationz.com/wordpress1/wp-content/themes/Divi/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/mobilecreationz.com/wordpress1/wp-content/themes/Divi/js/admin_post_settings.js
(function($){
	function init_post_format_js() {
		var post_format_option_type = $('.editor-post-format select').length > 0 ? 'select' : 'check';
		var $post_format            = 'select' === post_format_option_type ? $('.editor-post-format select') : $('input[name="post_format"]');
		var $settings               = $('.et_divi_format_setting');
		var $use_bg_color_setting   = $('#et_post_use_bg_color');

		$('.color-picker-hex').wpColorPicker();
		
		$post_format.change( function() {
			var $this = $(this);

			$settings.hide();

			$('.et_divi_format_setting' + '.et_divi_' + $this.val() + '_settings').show();

			$use_bg_color_setting.trigger('change');
		} );

		$use_bg_color_setting.change(function() {
			var $this = $(this);
			
			if ($this.is(':visible')) {
				$('.et_post_bg_color_setting').toggle($this.is(':checked'));
			}
		});

		if ('select' === post_format_option_type) {
			$post_format.trigger('change');
		} else {
			$post_format.filter(':checked').trigger('change');
		}
	}
	$(document).ready(function() {
		init_post_format_js();
	});
	
	// Init when Gutenberg interface is ready
	$(document).on('ETGBReady', event => {
		setTimeout(function() {
			init_post_format_js();
		}, 100);
	});
})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit