AlkantarClanX12

Your IP : 3.145.169.122


Current Path : /home/thanudqk/thepball.com/wp-content/plugins/wp-file-manager/lib/js/ui/
Upload File :
Current File : /home/thanudqk/thepball.com/wp-content/plugins/wp-file-manager/lib/js/ui/panel.js

jQuery.fn.elfinderpanel = function(fm) {
	"use strict";
	return this.each(function() {
		var panel = jQuery(this).addClass('elfinder-panel ui-state-default ui-corner-all'),
			margin = 'margin-'+(fm.direction == 'ltr' ? 'left' : 'right');
		
		fm.one('load', function(e) {
			var navbar = fm.getUI('navbar');
			
			panel.css(margin, parseInt(navbar.outerWidth(true)));
			navbar.on('resize', function(e) {
				e.preventDefault();
				e.stopPropagation();
				panel.is(':visible') && panel.css(margin, parseInt(navbar.outerWidth(true)));
			});
		});
	});
};