fix 'report issue' for places with single or double quotes in their names. Fixes #68
This commit is contained in:
@ -78,14 +78,6 @@ window.getAvgResoDistText = function(d) {
|
||||
return '⌀ res dist: ' + avgDist + ' m';
|
||||
}
|
||||
|
||||
window.getReportIssueInfoText = function(d) {
|
||||
return ('Your Nick: '+PLAYER.nickname+' '
|
||||
+ 'Portal: '+d.portalV2.descriptiveText.TITLE+' '
|
||||
+ 'Location: '+d.portalV2.descriptiveText.ADDRESS
|
||||
+' (lat '+(d.locationE6.latE6/1E6)+'; lng '+(d.locationE6.lngE6/1E6)+')'
|
||||
).replace(/['"]/, '');
|
||||
}
|
||||
|
||||
window.getResonatorDetails = function(d) {
|
||||
console.log('rendering reso details');
|
||||
var resoDetails = '';
|
||||
|
Reference in New Issue
Block a user