From f81e961084bb65f37384dc5e3c8eced7fdad3319 Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Mon, 21 Feb 2022 12:13:17 +0000 Subject: Deploying to docs from @ python-discord/bot-core@72ec57ae3153a274c902493ef6f74d35c27f965b 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _static/doctools.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '_static/doctools.js') diff --git a/_static/doctools.js b/_static/doctools.js index 8cbf1b16..e509e483 100644 --- a/_static/doctools.js +++ b/_static/doctools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -264,6 +264,9 @@ var Documentation = { hideSearchWords : function() { $('#searchbox .highlight-link').fadeOut(300); $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); }, /** -- cgit v1.2.3