HEX
Server: LiteSpeed
System: Linux dal1.hostclusters.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User: vslw (1496)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/vslw/public_html/wp-content/themes/soledad/js/customizer-helper.js
/**
 * Script for customizer controls.
 */
(function ($, api) {
  api.bind("ready", function () {
    api.previewer.bind("ready", function (message) {
      var $iframe = $("#customize-preview iframe").contents();
      $iframe.find(".soledad-customizer-edit-link").on("click", function (e) {
        if ($(this).hasClass("custom-link")) {
          e.preventDefault();
          var link = $(this).attr("data-href");
          window.open(link, "_blank");
        } else {
          var t = api.section($(this).attr("data-section"));
          t.focus();
        }
      });
    });
  });
})(jQuery, wp.customize);