ЦЕНТР ПРОТИДІЇ ДЕЗІНФОРМАЦІЇ


Telegram: Contact @CenterCounteringDisinformation client_bottom) { if (!body_classlist.contains(‘fixed_actions’)) { widget.style.marginBottom = widget_actions_wrap.offsetHeight + ‘px’; pauseWallpaper(widget_actions); body_classlist.add(‘fixed_actions’); } } else { if (body_classlist.contains(‘fixed_actions’)) { widget.style.marginBottom = ”; pauseWallpaper(widget_actions); body_classlist.remove(‘fixed_actions’); } } } function postMessageHandler(event) { try { var data = JSON.parse(event.data); } catch(e) { var data = {}; } if (data.event == ‘resize’) { setTimeout(checkActionsPosition, 50); } } if (!CSS || !CSS.supports || !CSS.supports(‘position’, ‘sticky’) || !IntersectionObserver) { window.addEventListener(‘resize’, checkActionsPosition); window.addEventListener(‘scroll’, checkActionsPosition); window.addEventListener(‘message’, postMessageHandler); } else { document.body.classList.add(‘sticky_actions’); var observer = new IntersectionObserver(function(records, observer) { for (var i = 0; i

Source

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *