1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00
phorge-phorge/webroot/rsrc
epriestley 67459092d7 Expand comments on page load only when the anchor points into them
Summary:
Ref T3099. Currently, we expand comments in Differential when //any// anchor is present. This creates a scrolling issue described in T3099. Instead, expand them only when the anchor contains `comment`.

We can go further here, but this should fix the immediate issue.

Test Plan: Viewed `/D22`, `/D22#toc`, and `/D22#comment-3`. The first two did not expand comments; the last one did.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3099

Differential Revision: https://secure.phabricator.com/D5836
2013-05-06 11:44:15 -07:00
..
css Increase font size on mobile action menu 2013-05-06 09:46:53 -07:00
externals Apply D5832 to Phabricator 2013-05-06 07:24:00 -07:00
image Payment sprite icons. 2013-04-22 16:41:00 -07:00
js Expand comments on page load only when the anchor points into them 2013-05-06 11:44:15 -07:00
swf Make Notifications Realtime 2012-06-11 17:51:12 -07:00