mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-24 03:51:41 -05:00
Prevent getassertion.html from appearing in history
This commit is contained in:
@@ -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('/');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user