%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) 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/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/backend/ |
Upload File : |
/**
* Full Site Editor.
*
* @author ClimaxThemes
* @package Kata Plus
* @since 1.0.0
*/
'use strict';
var Kata_Plus_Full_Site_Editor = (function ($) {
/**
* Global variables.
*
* @since 1.0.0
*/
var onetime = false;
return {
/**
* Init.
*
* @since 1.0.0
*/
init: function () {
this.FullSiteEdit();
},
/**
* Elementor Full Site Edit
*
* @author ClimaxThemes
* @since 1.0.0
*/
FullSiteEdit: function () {
$('.elementor').each(function (index, element) {
var $template = $(this),
urlbase = window.location.href;
$template.append(
'<div class="kata-full-site-edit"><i class="eicon-edit"></i><span>Edit</span></div>'
);
});
$(document).on('click', '.kata-full-site-edit', function () {
var $template = $(this),
$templateWrap = $template.closest('.elementor'),
templateID = $templateWrap.data('elementor-id');
elementorCommon.api.internal('panel/state-loading');
elementorCommon.api
.run('editor/documents/switch', {
id: templateID,
})
.finally(function () {
setTimeout(function () {
$('.elementor').each(function (index, element) {
var $template = $(this),
urlbase = window.location.href;
$template.append(
'<div class="kata-full-site-edit"><i class="eicon-edit"></i><span>Edit</span></div>'
);
});
}, 6000);
return elementorCommon.api.internal(
'panel/state-ready'
);
});
});
},
};
})(jQuery);
jQuery(window).on('elementor/frontend/init', function () {
setTimeout(function () {
Kata_Plus_Full_Site_Editor.init();
}, 10000);
});