![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/plugins/trx_addons/components/api/js_composer/ |
/* global jQuery:false */ (function() { "use strict"; // Uncomment next row to disable init VC prettyPhoto on the gallery images // to prevent conflict with the PrettyPhoto from WooCommerce 3+ // Attention! In this case you need manually init some lightbox on the gallery images //window.vc_prettyPhoto = function() {}; jQuery(document).on('action.init_hidden_elements', trx_addons_js_composer_init); function trx_addons_js_composer_init(e, container) { if (container === undefined) container = jQuery('body'); if (container.length === undefined || container.length == 0) return; // Close button in the messagebox container.find('.vc_message_box_closeable:not(.inited)').addClass('inited').on('click', function(e) { jQuery(this).fadeOut(); e.preventDefault(); return false; }); // Wrap .vc_element to the .sc_layouts_item when editing layouts jQuery('.compose-mode.single-cpt_layouts .vc_element[class*="vc_trx_sc_"]:not(.vc_trx_sc_content):not(.vc_trx_sc_layouts)').addClass('sc_layouts_item'); } })();