Sha256: 0a0fdc635ab9ac8f40b5f302b6ab23d706e8147d3f21c8d63d208bdb904b26a8

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

$(document).ready(function() {
  $("a.header__link:not(.no-selected)").each(function() {
    $(this).attr(
      "href",
      $(this)
        .attr("href")
        .replace("API_URL", URL_SITE)
    );
  });

  $("a.minha-link").each(function() {
    $(this).attr(
      "href",
      $(this)
        .attr("href")
        .replace("URL_MINHA", URL_MINHA)
    );
  });

  $("a.ec-link").each(function() {
    $(this).attr(
      "href",
      $(this)
        .attr("href")
        .replace("EC_URL", URL_EC)
    );
  });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veloe-landing-page-theme-0.1.0 assets/header.js