Full fix (add bold text) :
(careful, when you add lines, the numbers change

)
Lines 159-161if (cityID != null && Waze.model.cities.get(cityID)
.attributes != null) {
noCity = Waze.model.cities.get(cityID)
.attributes.isEmpty;
countryID = Waze.model.cities.get(cityID)
.attributes.countryID;
}
Line 807var thisName = Waze.model.cities.get(thisCity)
.attributes.name;
Line 940 (cybernissart fix)
var cityname = Waze.model.cities.objects[cid].attributes.name;
var citystateid = Waze.model.cities.objects[cid].attributes.stateID;
var citycountryid = Waze.model.states.get(citystateid).countryID;You can remove
line 940var city = Waze.model.cities.get(cid);Line 943 (cybernissart fix)
cityObjs.push({id:
cid, name:
cityname, state:
citystateid, country:
citycountryid});
Sometimes highlight places have issu. please add this 2 lines from line 597
if (specificCity) {
if (venue.attributes.streetID === undefined) continue;venueStreet = Waze.model.streets.get(venue.attributes.streetID);
if (venueStreet === undefined) continue;selectedCityMatch = (specificCity && venueStreet.cityID == selectedCityId);
Also, if you want icon instead of text in tab, change
line 1246 :
newtab.innerHTML = '<a href="#sidepanel-highlights" data-toggle="tab">
<span class="fa fa-tint" title="Highlight"></span></a>';
If you want change highlight color for city (Filter by City (Yellow)) :
Lines 384 & 389 :newColor = "
#f90";
Give you orange color