From effdcca08ac24204e73202d083ff63f4188f1631 Mon Sep 17 00:00:00 2001 From: Tobias Gritschacher Date: Mon, 12 Dec 2016 15:12:46 +0100 Subject: [PATCH] RevisionSlider should always be on top of the page E.g. in combination with FlaggedRevs extension, the RevisionSlider was positioned between FlaggedRevs headers and diffs which looked odd. Still todo: in combination with FlaggedRevs there is still an issue with the connector-lines that should be fixed. Bug: T151450 Change-Id: Ieb1a21549092063729f66656127f59918ec07c90 --- RevisionSlider.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RevisionSlider.hooks.php b/RevisionSlider.hooks.php index fd1877e5..fa8407ee 100644 --- a/RevisionSlider.hooks.php +++ b/RevisionSlider.hooks.php @@ -99,7 +99,7 @@ class RevisionSliderHooks { 'style' => 'margin: 0 auto;', ] ); - $out->addHTML( + $out->prependHTML( Html::rawElement( 'div', [