From 8c4f5aba3339844e17140222b9c45692b63d67dc Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 21 Aug 2017 18:47:27 -0700 Subject: [PATCH] Fix Back to HEAD link Summary: I missed an anchor tag here, adds it back Test Plan: View blame, click a previous version of the file, click Back to HEAD link. Reviewers: epriestley Reviewed By: epriestley Spies: Korvin Differential Revision: https://secure.phabricator.com/D18451 --- .../diffusion/controller/DiffusionBrowseController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php index 2deb3b8b15..f3c9210c50 100644 --- a/src/applications/diffusion/controller/DiffusionBrowseController.php +++ b/src/applications/diffusion/controller/DiffusionBrowseController.php @@ -1601,6 +1601,7 @@ final class DiffusionBrowseController extends DiffusionController { $head = null; if ($behind_head) { $head = id(new PHUIButtonView()) + ->setTag('a') ->setText(pht('Back to HEAD')) ->setHref($head_uri) ->setIcon('fa-home')