1
0
Fork 0
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:
vrana 2012-04-06 01:43:53 -07:00
parent 1f2028adf0
commit 36ee5dba51
2 changed files with 3 additions and 2 deletions

View file

@ -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>'.

View file

@ -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>'.