1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00

Don't show continuation lines in "stacked action" comment previews

Summary:
Ref T10698. Currently, we show the spacer/continuation lines around previews, but these don't make sense in previews.

(Other stuff also uses this code so I can't simply remove `spacer`.)

Test Plan:
Before:

{F1199924}

After:

{F1199925}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10698

Differential Revision: https://secure.phabricator.com/D15562
This commit is contained in:
epriestley 2016-04-01 06:02:53 -07:00
parent 1507e8dc8b
commit ad7239d64c

View file

@ -148,10 +148,7 @@ JX.behavior('comment-actions', function(config) {
} else {
JX.DOM.setContent(
JX.$(config.timelineID),
[
JX.$H(response.spacer),
JX.$H(response.xactions.join(response.spacer))
]);
JX.$H(response.xactions.join('')));
JX.DOM.show(panel);
}
}