Description
MzpNavigation.menuButtonVisible() and MzpNavigation.setAria() don't check for window.MzpSupports availability the way it was intended to.
Steps to reproduce
|
MzpNavigation.setAria = () => { |
|
if (MzpSupports !== 'undefined' && MzpSupports.intersectionObserver) { |
Expected result
typeof MzpSupports !== 'undefined'
Actual result
MzpSupports !== 'undefined'