ТЕСТ: Умеете ли вы говорить правду?

0
157

const partnerBarNode = document.querySelector(«.advert-bar»);const targetNode = document.querySelector(«#quiz_1055»);const hasSmoothScroll = («scrollBehavior» in document.documentElement.style);function quiz_1055RS(a,b){try{var c=JSON.parse(b.data);if(c[a]&&c.id&&(c.data.height&&(document.getElementById(c.id).style.height=c.data.height+»px»), c.data.scrollToTop)){const top = pageYOffset + targetNode.getBoundingClientRect().top — 75; if (hasSmoothScroll) { window.scroll({ top, left: 0, behavior: ‘smooth’ });} else {window.scroll({ top, left: 0 });}}}catch(a){}}window.addEventListener(«message»,quiz_1055RS.bind(this,»quiz_1055″),!1),window.removeEventListener(«message»,quiz_1055RS.bind(this,»quiz_1055″),!1);

ОСТАВЬТЕ ОТВЕТ

Please enter your comment!
Please enter your name here