From 2a914f263832e6a50232d306f3d9ff6002b6d026 Mon Sep 17 00:00:00 2001 From: Glorfindel Date: Sat, 23 Feb 2019 18:54:22 +0100 Subject: [PATCH] Global Review Summary v0.3: restore link to summary on review queue pages --- global-review-summary/global-review-summary.user.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/global-review-summary/global-review-summary.user.js b/global-review-summary/global-review-summary.user.js index c6a3657..f03308a 100644 --- a/global-review-summary/global-review-summary.user.js +++ b/global-review-summary/global-review-summary.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Stack Exchange Global Review Summary -// @version 0.2 +// @version 0.3 // @description Stack Exchange network wide review summary available in your network profile // @author Glorfindel // @attribution Floern (https://github.com/Floern) @@ -179,10 +179,13 @@ function showGlobalReviewSummaryLink() { if (tabs != null) { tabs.appendChild(link); } else { - var header = document.querySelector('#content .subheader'); - header.setAttribute('style', 'display: table'); - link.setAttribute('style', 'padding-left: 20px; display: table-cell; vertical-align: middle;'); - header.appendChild(link); + let header = document.querySelector('#content h1.fs-headline1'); + let button = $(``); + button.insertAfter(header); } }