Queremos escucharlo

Pregúntenos sobre nuestros productos, envíenos sus comentarios o infórmese sobre oportunidades laborales.




jQuery(function ($) {
  // Use the stable id of the "Find a job" tab
  var $jobsLink = $('.nav-tabs li#tab-i-4 a.tab.nav-link').first();

  // Fallback (if the id changes, still grab the last tab link)
  if (!$jobsLink.length) {
    $jobsLink = $('.nav-tabs li:last-child a.tab.nav-link').first();
  }
  if (!$jobsLink.length) return;

  // 1) Normalize: real href so CSS :hover/:focus etc. work
  $jobsLink
    .attr('href', '/global/en/jobs/')
    .attr('target', '_blank')                 // semantic (browser will try new tab)
    .attr('rel', 'noopener noreferrer')
    .attr('data-uw-rm-ignore', 'true')        // tell UserWay to leave it alone
    .removeAttr('data-toggle data-bs-toggle data-target data-bs-target aria-controls role aria-selected aria-expanded');

  // 2) Remove direct click handlers bound earlier to this element
  $jobsLink.off('click');

  // 3) Force ONLY new-tab behavior (prevent same-tab nav)
  $jobsLink.on('click', function (e) {
    // stop any tab/UX interceptors
    e.preventDefault();
    e.stopPropagation();
    if (e.stopImmediatePropagation) e.stopImmediatePropagation();

    var href = $(this).attr('href') || '/global/en/jobs/';
    // Synchronous open = popup-safe
    var win = window.open(href, '_blank', 'noopener,noreferrer');
    // DO NOT fall back to same-tab; if blocked, user will see the blocker UI.
    // If you want a fallback, uncomment:
    // if (!win) window.location.assign(href);
    return false;
  });

  // 4) As a guard, cancel delegated tab-click on the parent for THIS item only
  $('.nav-tabs')
    .off('click.niqForceNewTab mousedown.niqForceNewTab', 'li#tab-i-4 a') // clear our old handlers if any
    .on('click.niqForceNewTab', 'li#tab-i-4 a', function (e) {
      e.preventDefault();
      e.stopPropagation();
      var href = this.getAttribute('href') || '/global/en/jobs/';
      window.open(href, '_blank', 'noopener,noreferrer');
      return false;
    });
});


document.querySelectorAll(‘.entry-title’).forEach(el => { el.classList.add(‘entry-title-truncate’); });