| Server IP : 172.67.199.98 / Your IP : 162.159.115.10 Web Server : nginx/1.26.1 System : Linux ecc7dbd2befa 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64 User : www-data ( 82) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/wp-file-manager/lib/js/ui/ |
Upload File : |
/**
* @class elFinder toolbar button to switch full scrren mode.
*
* @author Naoki Sawada
**/
jQuery.fn.elfinderfullscreenbutton = function(cmd) {
"use strict";
return this.each(function() {
var button = jQuery(this).elfinderbutton(cmd),
icon = button.children('.elfinder-button-icon'),
tm;
cmd.change(function() {
tm && cancelAnimationFrame(tm);
tm = requestAnimationFrame(function() {
var fullscreen = cmd.value;
icon.addClass('elfinder-button-icon-fullscreen').toggleClass('elfinder-button-icon-unfullscreen', fullscreen);
cmd.className = fullscreen? 'unfullscreen' : '';
});
});
});
};