Sha256: 0abe00cc00e0f8c8fe99c62ab2851493537de363a25e63f5020118cdbb27d2ce

Contents?: true

Size: 736 Bytes

Versions: 2

Compression:

Stored size: 736 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landing-page-gem-0.8.1 assets/js/dist/321.340e4039135e37b50660.bundle.js
landing-page-gem-0.8.0 assets/js/dist/321.340e4039135e37b50660.bundle.js