diff --git a/CHANGELOG.md b/CHANGELOG.md
index e94e7ca..e45ea3c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+# v1.1.1 - *2020-10-25*
+
+## Fixed
+
+- Version on script
+
# v1.1.0 - *2020-10-25*
## Added
diff --git a/dev/leaflet-providersESP.js b/dev/leaflet-providersESP.js
index 078b117..5844cc0 100644
--- a/dev/leaflet-providersESP.js
+++ b/dev/leaflet-providersESP.js
@@ -1,11 +1,11 @@
-// leaflet-providersESP.js plugin v1.1.0
+// leaflet-providersESP.js plugin v1.1.1
// (c) D. Hernangomez - MIT License
// https://dieghernan.github.io/leaflet-providersESP/
// Issues: https://dieghernan.github.io/leaflet-providersESP/issues
// All providers are open source. Please check attributions
// Feel free to contribute
"use strict";
-var providersESPversion = 'v1.0.1-dev2';
+var providersESPversion = 'v1.1.1';
// Databases
// WMTS Servers - Tile Maps - Mapas de Teselas
var completeWMTS = "&style=default&tilematrixset=GoogleMapsCompatible&TileMatrix={z}&TileRow={y}&TileCol={x}";
diff --git a/dist/leaflet-providersESP.js b/dist/leaflet-providersESP.js
index 078b117..5844cc0 100644
--- a/dist/leaflet-providersESP.js
+++ b/dist/leaflet-providersESP.js
@@ -1,11 +1,11 @@
-// leaflet-providersESP.js plugin v1.1.0
+// leaflet-providersESP.js plugin v1.1.1
// (c) D. Hernangomez - MIT License
// https://dieghernan.github.io/leaflet-providersESP/
// Issues: https://dieghernan.github.io/leaflet-providersESP/issues
// All providers are open source. Please check attributions
// Feel free to contribute
"use strict";
-var providersESPversion = 'v1.0.1-dev2';
+var providersESPversion = 'v1.1.1';
// Databases
// WMTS Servers - Tile Maps - Mapas de Teselas
var completeWMTS = "&style=default&tilematrixset=GoogleMapsCompatible&TileMatrix={z}&TileRow={y}&TileCol={x}";
diff --git a/docs/_includes/custom/custom_head.html b/docs/_includes/custom/custom_head.html
index 1f186a2..7d55a56 100644
--- a/docs/_includes/custom/custom_head.html
+++ b/docs/_includes/custom/custom_head.html
@@ -18,7 +18,7 @@
-
+
diff --git a/docs/js/preview.js b/docs/js/preview.js
index df5eabe..fc056dc 100644
--- a/docs/js/preview.js
+++ b/docs/js/preview.js
@@ -20,7 +20,7 @@ function renderValue(value) {
}
}
function getExampleJS(name) {
- var prov = LPESP_composenames(name);
+ var prov = providerOpts(name);
var layerName = name.replace('.', '_');
var url = prov.url;
var options = L.extend({}, prov.options || {});