From a0aae9a062af941174b04d71f4e8521d83d025f7 Mon Sep 17 00:00:00 2001 From: Vladimir Kharlampidi Date: Wed, 20 Sep 2023 13:54:37 +0300 Subject: [PATCH] chore: fix moduleParams check --- src/core/moduleExtendParams.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/moduleExtendParams.mjs b/src/core/moduleExtendParams.mjs index 8df61862e..d4c1ed9c5 100644 --- a/src/core/moduleExtendParams.mjs +++ b/src/core/moduleExtendParams.mjs @@ -21,6 +21,7 @@ export default function moduleExtendParams(params, allModulesParams) { } if ( ['pagination', 'scrollbar'].indexOf(moduleParamName) >= 0 && + params[moduleParamName] && params[moduleParamName].enabled && !params[moduleParamName].el ) {