From 355eeeb904dfd4d196107e344dcf3326e02544dc Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Sun, 7 Apr 2013 03:03:18 -0700 Subject: [PATCH] Prevent getassertion.html from appearing in history --- getassertion.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getassertion.html b/getassertion.html index 4b70c8114..d2543ce90 100644 --- a/getassertion.html +++ b/getassertion.html @@ -16,9 +16,9 @@ $.ajax({ }).done(function(data) { $.cookie('assertion', data); if (location.search) { - document.location = decodeURIComponent(location.search.substr(1)); + document.location.replace(decodeURIComponent(location.search.substr(1))); } else { - document.location = '/'; + document.location.replace('/'); } });