-
Notifications
You must be signed in to change notification settings - Fork 0
/
src.5074b964.js.map
1 lines (1 loc) · 1.13 KB
/
src.5074b964.js.map
1
{"version":3,"sources":["src/index.js"],"names":["determineCultureNominationDisplay","window","scrollTo","location","hash","match","document","querySelector","classList","add","remove","addEventListener"],"mappings":";AAAA,IAAMA,EAAoC,WACtCC,OAAOC,SAAS,EAAG,GACDD,OAAOE,SAASC,KAAKC,MAAM,wBAEzCC,SAASC,cAAc,iBAAiBC,UAAUC,IAAI,WACtDH,SAASC,cAAc,iBAAiBC,UAAUC,IAAI,eAEtDH,SAASC,cAAc,iBAAiBC,UAAUE,OAAO,WACzDJ,SAASC,cAAc,iBAAiBC,UAAUE,OAAO,eAIjET,OAAOU,iBAAiB,aAAcX,GAEtCA","file":"src.5074b964.js","sourceRoot":"","sourcesContent":["const determineCultureNominationDisplay = () => {\n window.scrollTo(0, 0);\n const displayed = window.location.hash.match(/culture-nominations/);\n if (displayed) {\n document.querySelector('.main-content').classList.add('blurred');\n document.querySelector('.culture-noms').classList.add('displayed');\n } else {\n document.querySelector('.main-content').classList.remove('blurred');\n document.querySelector('.culture-noms').classList.remove('displayed');\n }\n};\n\nwindow.addEventListener('hashchange', determineCultureNominationDisplay);\n\ndetermineCultureNominationDisplay();\n"]}