From ccf83e3360c47e39e694605f9e98ee2d961064da Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 30 Aug 2013 20:30:13 +0100 Subject: [PATCH] remove 'report portal' link in portal details. niantic now - pretty much - only take reports via the in-app process --- code/portal_detail_display.js | 1 - code/utils_misc.js | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index 764fda7d..f174628a 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -106,7 +106,6 @@ window.renderPortalDetails = function(guid) { : '' + '' ) - + '' + '' ); diff --git a/code/utils_misc.js b/code/utils_misc.js index 7082bfac..9edd4e9c 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -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();