From a409fe9ce521957ddf8977f82be59ccf3bb29905 Mon Sep 17 00:00:00 2001 From: nexushoratio Date: Sat, 14 Dec 2013 20:17:31 -0800 Subject: [PATCH] Return to old user experience of clicking on portal link replaces current page. Rationale: Users have several options of opening a link in a new tab/window without the target, whereas with the target, users have no option of reusing the same window. --- code/portal_detail_display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index 9c26ea59..53a54b99 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -109,7 +109,7 @@ window.renderPortalDetails = function(guid) { } else { // non-android - a permalink for the portal - var permaHtml = $('
').html( $('').attr({href:permalinkUrl, target:'_blank', title:'Create a URL link to this portal'}).text('Portal link') ).html(); + var permaHtml = $('
').html( $('').attr({href:permalinkUrl, title:'Create a URL link to this portal'}).text('Portal link') ).html(); linkDetails.push ( '' ); // and a map link popup dialog