Skip to content

Commit

Permalink
Update WME-Place-Harmonizer.js
Browse files Browse the repository at this point in the history
Fix for territories outside continental US.
  • Loading branch information
mapomatic authored Aug 24, 2018
1 parent d2cd854 commit 4ba2781
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions WME-Place-Harmonizer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name WME Place Harmonizer Beta
// @namespace WazeUSA
// @version 1.3.122
// @version 1.3.123
// @description Harmonizes, formats, and locks a selected place
// @author WMEPH Development Group
// @include /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/
Expand Down Expand Up @@ -3205,19 +3205,14 @@
_countryCode = 'CAN';
} else if (countryName === 'American Samoa') {
_countryCode = 'USA';
useState = false;
} else if (countryName === 'Guam') {
_countryCode = 'USA';
useState = false;
} else if (countryName === 'Northern Mariana Islands') {
_countryCode = 'USA';
useState = false;
} else if (countryName === 'Puerto Rico') {
_countryCode = 'USA';
useState = false;
} else if (countryName === 'Virgin Islands (U.S.)') {
_countryCode = 'USA';
useState = false;
} else {
if (hpMode.harmFlag) {
alert('At present this script is not supported in this country.');
Expand Down

0 comments on commit 4ba2781

Please sign in to comment.