You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New browsers support array function at().
This causes error when "at" is present as country code, but not present on map: jquery.vmap.min.js:10 Uncaught TypeError: this.countries[d].setFill is not a function
or jquery.vmap.min.js:10 Uncaught TypeError: this.countries[code].setFill is not a function
To fix, in unminified version replace if (this.countries[code]) {
with if (this.countries.hasOwnProperty(code)) {
The text was updated successfully, but these errors were encountered:
New browsers support array function at().
This causes error when "at" is present as country code, but not present on map:
jquery.vmap.min.js:10 Uncaught TypeError: this.countries[d].setFill is not a function
or
jquery.vmap.min.js:10 Uncaught TypeError: this.countries[code].setFill is not a function
To fix, in unminified version replace
if (this.countries[code]) {
with
if (this.countries.hasOwnProperty(code)) {
The text was updated successfully, but these errors were encountered: