Put inline comment anchors above the comments

Summary: See T955. We jump to an awkard place right now; jump above the comment instead.

Test Plan: Clicked inline comment anchor links.

Reviewers: Makinde, btrahan

Reviewed By: Makinde

CC: aran, epriestley

Maniphest Tasks: T955

Differential Revision: https://secure.phabricator.com/D2029
This commit is contained in:
epriestley
2012-03-26 21:57:51 -07:00
parent 914f044b62
commit 43f0076615
3 changed files with 32 additions and 17 deletions

View File

@@ -183,8 +183,9 @@ final class DifferentialInlineCommentView extends AphrontView {
$anchor = phutil_render_tag(
'a',
array(
'name' => $anchor_name,
'id' => $anchor_name,
'name' => $anchor_name,
'id' => $anchor_name,
'class' => 'differential-inline-comment-anchor',
),
'');