Sha256: 172e09ef9a393e2022d3bfe041b1b79e46616f88aafd0479aff61fdb654fed4b

Contents?: true

Size: 381 Bytes

Versions: 11

Compression:

Stored size: 381 Bytes

Contents

const ActiveBook = () => {

  if (!BodyIsHome) {

    let active = '';

    $(BodyClasses).map((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

11 entries across 11 versions & 1 rubygems

Version Path
futuro-0.9.8 assets/js/footer/custom/ActiveBook.js
futuro-0.9.7 assets/js/footer/custom/ActiveBook.js
futuro-0.9.6 assets/js/footer/custom/ActiveBook.js
futuro-0.9.5 assets/js/footer/custom/ActiveBook.js
futuro-0.9.4 assets/js/footer/custom/ActiveBook.js
futuro-0.9.3 assets/js/footer/custom/ActiveBook.js
futuro-0.9.2 assets/js/footer/custom/ActiveBook.js
futuro-0.9.1 assets/js/footer/custom/ActiveBook.js
futuro-0.9.0 assets/js/footer/custom/ActiveBook.js
futuro-0.8.9 assets/js/footer/custom/ActiveBook.js
futuro-0.8.8 assets/js/footer/custom/ActiveBook.js