From 36ee5dba510569a05982b2d06a8d29e9674263a3 Mon Sep 17 00:00:00 2001 From: vrana Date: Fri, 6 Apr 2012 01:43:53 -0700 Subject: [PATCH] Jump to TOC after Show Diff Summary: I've found it useful mainly on smaller screen or with lots of comments. Test Plan: Show Diff Reviewers: epriestley Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D2122 --- .../DifferentialDiffTableOfContentsView.php | 3 ++- .../DifferentialRevisionUpdateHistoryView.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/applications/differential/view/difftableofcontents/DifferentialDiffTableOfContentsView.php b/src/applications/differential/view/difftableofcontents/DifferentialDiffTableOfContentsView.php index 2dba398942..39a27f4508 100644 --- a/src/applications/differential/view/difftableofcontents/DifferentialDiffTableOfContentsView.php +++ b/src/applications/differential/view/difftableofcontents/DifferentialDiffTableOfContentsView.php @@ -218,7 +218,8 @@ final class DifferentialDiffTableOfContentsView extends AphrontView { } return - '
'. + '
'. $editor_link. '

Table of Contents

'. ''. diff --git a/src/applications/differential/view/revisionupdatehistory/DifferentialRevisionUpdateHistoryView.php b/src/applications/differential/view/revisionupdatehistory/DifferentialRevisionUpdateHistoryView.php index ff5c23435d..6a10980929 100644 --- a/src/applications/differential/view/revisionupdatehistory/DifferentialRevisionUpdateHistoryView.php +++ b/src/applications/differential/view/revisionupdatehistory/DifferentialRevisionUpdateHistoryView.php @@ -215,7 +215,7 @@ final class DifferentialRevisionUpdateHistoryView extends AphrontView { return '
'. '

Revision Update History

'. - '
'. + ''. '
'. ''. ''.
Diff