svgmap 2.18.0 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -889,13 +889,14 @@ class svgMap {
889
889
  mapContinentControlsWrapper
890
890
  );
891
891
  var that = this;
892
- Object.keys(svgMap.prototype.continents).forEach(function (item) {
892
+
893
+ Object.keys(this.continents).forEach(function (item) {
893
894
  let element = that.createElement(
894
895
  'option',
895
896
  'svgMap-continent-option svgMap-continent-iso-' +
896
- svgMap.prototype.continents[item].iso,
897
+ that.continents[item].iso,
897
898
  that['continentSelect'],
898
- svgMap.prototype.continents[item].name
899
+ that.continents[item].name
899
900
  );
900
901
  element.value = item;
901
902
  });