Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
$(() => {
// True if small devices
if (!Foundation.MediaQuery.atLeast("medium")) {
const $speaker = $(".js-conference")
$speaker.hover(function () {
const top = $(window).scrollTop() + ($(window).height() * 0.1)
$(this).find(".js-bio").css("top", top)
})
}
});