Sha256: 051a2359be961844ff424c531832c2961fb0910f34e139e46be236b54d53e104

Contents?: true

Size: 1.55 KB

Versions: 22

Compression:

Stored size: 1.55 KB

Contents

const StartBrowse = () => {

  BookLinks.each(function(index,value) {

    CheckBookClass(value);

    if (Found) {

      gsap.set(value,BackgroundShade);

    }

  });

  ChapterBooks.each(function(index,value) {

    CheckBookClass(value);

    if (Found) {

      gsap.set(value,ClearDisplay);

      $(value.children).each(function(index,value) {

        CheckChapterClass(value);

        if (Found) {

          gsap.set(value,BackgroundShade);

        }

      });

      if (ChapterNotFound) {

        gsap.set(value.children[0],BackgroundShade);

      }

    } else {

      gsap.set(value,DisplayNone);

    }

  });

  PageBooks.each(function(index,value) {

    CheckBookClass(value);

    if(Found) {

      gsap.set(value,ClearDisplay);

      $(value.children).each(function(index,value) {

        CheckChapterClass(value);

        if (Found) {

          gsap.set(value,ClearDisplay);

          $(value.children).each(function(index,value) {

            CheckPageClass(value);

            if (Found) {

              gsap.set(value,BackgroundShade);

            }

          })

          if (PageNotFound) {

            gsap.set(value.children[0],BackgroundShade);

          }

        } else {

          gsap.set(value,DisplayNone);

        }

      });

      if (ChapterNotFound) {

        gsap.set(value.children[0],ClearDisplay);

        gsap.set(value.children[0].children[0],BackgroundShade);

      }

    } else {

      gsap.set(value,DisplayNone);

    }

  });

}

if (!SiteIsTheme) { if (!BodyIsHome) { if (Browseable) { StartBrowse(); } } }

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
futuro-0.9.7 assets/js/footer/custom/StartBrowse.js
futuro-0.9.6 assets/js/footer/custom/StartBrowse.js
futuro-0.9.5 assets/js/footer/custom/StartBrowse.js
futuro-0.9.4 assets/js/footer/custom/StartBrowse.js
futuro-0.9.3 assets/js/footer/custom/StartBrowse.js
futuro-0.9.2 assets/js/footer/custom/StartBrowse.js
futuro-0.9.1 assets/js/footer/custom/StartBrowse.js
futuro-0.9.0 assets/js/footer/custom/StartBrowse.js
futuro-0.8.9 assets/js/footer/custom/StartBrowse.js
futuro-0.8.8 assets/js/footer/custom/StartBrowse.js
futuro-0.8.7 assets/js/footer/custom/StartBrowse.js
futuro-0.8.6 assets/js/footer/custom/StartBrowse.js
futuro-0.8.5 assets/js/footer/custom/StartBrowse.js
futuro-0.8.4 assets/js/footer/custom/StartBrowse.js
futuro-0.8.3 assets/js/footer/custom/StartBrowse.js
futuro-0.8.2 assets/js/footer/custom/StartBrowse.js
futuro-0.8.1 assets/js/footer/custom/StartBrowse.js
futuro-0.8.0 assets/js/footer/custom/StartBrowse.js
futuro-0.7.9 assets/js/footer/custom/StartBrowse.js
futuro-0.7.8 assets/js/footer/custom/StartBrowse.js