Sha256: 5e8997b6f365c6078b7c47f137fe8a965aee611801de42434711b9f51ae7b2ff

Contents?: true

Size: 727 Bytes

Versions: 10

Compression:

Stored size: 727 Bytes

Contents

"use strict";(self.webpackChunklanding_page_gem=self.webpackChunklanding_page_gem||[]).push([[321],{321:function(e,t){function n(e){return Math.floor(e.getBoundingClientRect().top)}function o(e){const t=e.target.getAttribute("href").replace(/^#/,""),o=document.getElementById(t),r=n(o);e.preventDefault(),window.scrollBy({top:r,left:0,behavior:"smooth"});const a=setInterval((()=>{const e=window.innerHeight+window.pageYOffset>=document.body.offsetHeight-2;(0===n(o)||e)&&('.inputWrapper input[placeholder="First Name"]',document.querySelector('.inputWrapper input[placeholder="First Name"]').select(),clearInterval(a))}),100)}t.default=function(){document.querySelector('a[href="#page-top"]').addEventListener("click",o)}}}]);

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
landing-page-gem-0.17.0 assets/js/dist/321.f6e94915caa3d803d38d.bundle.js
landing-page-gem-0.16.0 assets/js/dist/321.f7bde70675606f33f8bf.bundle.js
landing-page-gem-0.15.0 assets/js/dist/321.f7bde70675606f33f8bf.bundle.js
landing-page-gem-0.14.0 assets/js/dist/321.f7bde70675606f33f8bf.bundle.js
landing-page-gem-0.13.0 assets/js/dist/321.e3082e2fbd0699285ac9.bundle.js
landing-page-gem-0.12.0 assets/js/dist/321.021a12c5186589a5e21d.bundle.js
landing-page-gem-0.11.1 assets/js/dist/321.086cdaabfd88c44deaec.bundle.js
landing-page-gem-0.11.0 assets/js/dist/321.086cdaabfd88c44deaec.bundle.js
landing-page-gem-0.10.1 assets/js/dist/321.086cdaabfd88c44deaec.bundle.js
landing-page-gem-0.10.0 assets/js/dist/321.086cdaabfd88c44deaec.bundle.js