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:
@@ -218,7 +218,8 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
'<div class="differential-toc differential-panel">'.
|
'<div id="differential-review-toc" '.
|
||||||
|
'class="differential-toc differential-panel">'.
|
||||||
$editor_link.
|
$editor_link.
|
||||||
'<h1>Table of Contents</h1>'.
|
'<h1>Table of Contents</h1>'.
|
||||||
'<table>'.
|
'<table>'.
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ final class DifferentialRevisionUpdateHistoryView extends AphrontView {
|
|||||||
return
|
return
|
||||||
'<div class="differential-revision-history differential-panel">'.
|
'<div class="differential-revision-history differential-panel">'.
|
||||||
'<h1>Revision Update History</h1>'.
|
'<h1>Revision Update History</h1>'.
|
||||||
'<form>'.
|
'<form action="#differential-review-toc">'.
|
||||||
'<table class="differential-revision-history-table">'.
|
'<table class="differential-revision-history-table">'.
|
||||||
'<tr>'.
|
'<tr>'.
|
||||||
'<th>Diff</th>'.
|
'<th>Diff</th>'.
|
||||||
|
|||||||
Reference in New Issue
Block a user