Skip to content

Commit 6f8a48b

Browse files
authored
Update countrypagemap_new.js
1 parent 5c9626f commit 6f8a48b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

public/javascripts/countrypagemap_new.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ $(document).ready(function () {
8787
"coordinates": window.coordinates
8888
}
8989
};
90-
countryList.push(mapBorder);
90+
if(window.countryCode != 'SO') {
91+
countryList.push(mapBorder);
92+
}
9193
}
9294
else if (mapType == 'location') {
9395
map = new L.Map('countryMap', {
@@ -249,4 +251,4 @@ $(document).ready(function () {
249251
markers.addLayer(tempMarker);
250252
});
251253
map.addLayer(markers);
252-
});
254+
});

0 commit comments

Comments
 (0)