Commit 32ce48ba authored by Stephan Botta's avatar Stephan Botta
Browse files

Update 05-mobile-navbar.js

parent 5a127aec
Pipeline #19691 passed with stages
in 2 minutes and 2 seconds
......@@ -15,6 +15,6 @@
var expectedMaxHeight = window.innerHeight - Math.round(menu.getBoundingClientRect().top)
var actualMaxHeight = parseInt(window.getComputedStyle(menu).maxHeight, 10)
if (actualMaxHeight !== expectedMaxHeight) menu.style.maxHeight = expectedMaxHeight + 'px'
}
}
}
})()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment