diff --git a/src/module-elasticsuite-catalog/view/frontend/web/js/range-slider-widget.js b/src/module-elasticsuite-catalog/view/frontend/web/js/range-slider-widget.js index a0b3cd0e1..b3438720c 100644 --- a/src/module-elasticsuite-catalog/view/frontend/web/js/range-slider-widget.js +++ b/src/module-elasticsuite-catalog/view/frontend/web/js/range-slider-widget.js @@ -15,7 +15,7 @@ /*jshint browser:true jquery:true*/ /*global alert*/ -define(["jquery", 'Magento_Catalog/js/price-utils', 'mage/template', "jquery/ui"], function ($, priceUtil, mageTemplate) { +define(['jquery', 'Magento_Catalog/js/price-utils', 'mage/template', 'Magento_Ui/js/modal/modal'], function ($, priceUtil, mageTemplate) { "use strict"; diff --git a/src/module-elasticsuite-core/view/frontend/web/js/form-mini.js b/src/module-elasticsuite-core/view/frontend/web/js/form-mini.js index e3deea5cb..a8e960fd1 100644 --- a/src/module-elasticsuite-core/view/frontend/web/js/form-mini.js +++ b/src/module-elasticsuite-core/view/frontend/web/js/form-mini.js @@ -21,7 +21,7 @@ define([ 'mage/template', 'Magento_Catalog/js/price-utils', 'Magento_Ui/js/lib/knockout/template/loader', - 'jquery/ui', + 'Magento_Ui/js/modal/modal', 'mage/translate', 'Magento_Search/js/form-mini' ], function (ko, $, _, mageTemplate, priceUtil, templateLoader) { @@ -62,7 +62,7 @@ define([ } } }, - + /** * Init templates used for rendering when instantiating the widget *