svgmap 2.18.0 → 2.18.2

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.js CHANGED
@@ -887,13 +887,14 @@ class svgMap {
887
887
  mapContinentControlsWrapper
888
888
  );
889
889
  var that = this;
890
- Object.keys(svgMap.prototype.continents).forEach(function (item) {
890
+
891
+ Object.keys(this.continents).forEach(function (item) {
891
892
  let element = that.createElement(
892
893
  'option',
893
894
  'svgMap-continent-option svgMap-continent-iso-' +
894
- svgMap.prototype.continents[item].iso,
895
+ that.continents[item].iso,
895
896
  that['continentSelect'],
896
- svgMap.prototype.continents[item].name
897
+ that.continents[item].name
897
898
  );
898
899
  element.value = item;
899
900
  });