diff --git a/composer.json b/composer.json index 0fd9474..a366841 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "eadesignro/romcity", "description": "A module that adds checkout city field to checkout quote shipping address", "type": "magento2-module", - "version": "1.1.3", + "version": "1.1.4", "autoload": { "files": [ "registration.php" diff --git a/etc/module.xml b/etc/module.xml index 7e7d072..d3ccd1e 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,7 +1,7 @@ - + diff --git a/view/frontend/web/js/form/element/city.js b/view/frontend/web/js/form/element/city.js index a1da061..046b7b3 100644 --- a/view/frontend/web/js/form/element/city.js +++ b/view/frontend/web/js/form/element/city.js @@ -41,7 +41,7 @@ define([ currentRegionCities; romanianRegions = romania[value]; - + if(romanianRegions === undefined){ this.hide();