diff --git a/view/frontend/requirejs-config.js b/view/frontend/requirejs-config.js index 58fb350..08bce5f 100644 --- a/view/frontend/requirejs-config.js +++ b/view/frontend/requirejs-config.js @@ -7,7 +7,7 @@ var config = { 'owl.carousel': {deps: ['jquery', 'jquery-ui-modules/widget']} } }; -if(OX_OWL_DISABLE){ +if(window?.OX_OWL_DISABLE){ delete config.paths['owl.carousel']; delete config.paths['OXowlCarousel']; delete config.shim['owl.carousel'];