Sha256: 83e4099e9c8c728bb02edc5b963a6ce40f9e041747329ea5073acd7090279177

Contents?: true

Size: 376 Bytes

Versions: 12

Compression:

Stored size: 376 Bytes

Contents

const ActiveBook = () => {

  if (!BodyIsHome) {
    let active = '';

    $(BodyClasses).each(function(index,value) {
      if (value.startsWith("book-")) {
        active = value.slice(5);
        let target = $("button", Site.topbar.lnk + "." + active);
        gsap.set(target,{ borderBottom : "3px solid" });
      }
    });
  }
}

if(!SiteIsTheme) {
  $(ActiveBook);
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
futuro-0.8.7 assets/js/footer/custom/ActiveBook.js
futuro-0.8.6 assets/js/footer/custom/ActiveBook.js
futuro-0.8.5 assets/js/footer/custom/ActiveBook.js
futuro-0.8.4 assets/js/footer/custom/ActiveBook.js
futuro-0.8.3 assets/js/footer/custom/ActiveBook.js
futuro-0.8.2 assets/js/footer/custom/ActiveBook.js
futuro-0.8.1 assets/js/footer/custom/ActiveBook.js
futuro-0.8.0 assets/js/footer/custom/ActiveBook.js
futuro-0.7.9 assets/js/footer/custom/ActiveBook.js
futuro-0.7.8 assets/js/footer/custom/ActiveBook.js
futuro-0.7.6 assets/js/footer/custom/ActiveBook.js
futuro-0.7.5 assets/js/footer/custom/ActiveBook.js