remove 'report portal' link in portal details. niantic now - pretty much - only take reports via the in-app process

This commit is contained in:
Jon Atkins 2013-08-30 20:30:13 +01:00
parent 3839358a7c
commit ccf83e3360
2 changed files with 0 additions and 15 deletions

View File

@ -106,7 +106,6 @@ window.renderPortalDetails = function(guid) {
: '<aside><a href="'+perma+'" onclick="return androidCopy(this.href)" title="Create a URL link to this portal" >Portal link</a></aside>'
+ '<aside><a onclick="'+poslinks+'" title="Link to alternative maps (Google, etc)">Map links</a></aside>'
)
+ '<aside><a onclick="window.reportPortalIssue()" title="Report issues with this portal to Niantic/Google">Report issue</a></aside>'
+ '</div>'
);

View File

@ -209,20 +209,6 @@ window.androidPermalink = function() {
return false;
}
window.reportPortalIssue = function(info) {
var t = 'Redirecting you to a Google Help Page.\n\nThe text box contains all necessary information. Press CTRL+C to copy it.';
var d = window.portals[window.selectedPortal].options.details;
var info = 'Your Nick: ' + PLAYER.nickname + ' '
+ 'Portal: ' + d.portalV2.descriptiveText.TITLE + ' '
+ 'Location: ' + d.portalV2.descriptiveText.ADDRESS
+' (lat ' + (d.locationE6.latE6/1E6) + '; lng ' + (d.locationE6.lngE6/1E6) + ')';
//codename, approx addr, portalname
if(prompt(t, info) !== null)
location.href = 'https://support.google.com/ingress?hl=en&contact=1';
}
window.getPortalDataZoom = function() {
var mapZoom = map.getZoom();