mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
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
This commit is contained in:
parent
1f2028adf0
commit
36ee5dba51
2 changed files with 3 additions and 2 deletions
|
@ -218,7 +218,8 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
|||
}
|
||||
|
||||
return
|
||||
'<div class="differential-toc differential-panel">'.
|
||||
'<div id="differential-review-toc" '.
|
||||
'class="differential-toc differential-panel">'.
|
||||
$editor_link.
|
||||
'<h1>Table of Contents</h1>'.
|
||||
'<table>'.
|
||||
|
|
|
@ -215,7 +215,7 @@ final class DifferentialRevisionUpdateHistoryView extends AphrontView {
|
|||
return
|
||||
'<div class="differential-revision-history differential-panel">'.
|
||||
'<h1>Revision Update History</h1>'.
|
||||
'<form>'.
|
||||
'<form action="#differential-review-toc">'.
|
||||
'<table class="differential-revision-history-table">'.
|
||||
'<tr>'.
|
||||
'<th>Diff</th>'.
|
||||
|
|
Loading…
Reference in a new issue