From c5195141fac6797c62295a1c79bf5972a6b9fe5d Mon Sep 17 00:00:00 2001 From: JulioV Date: Sat, 12 Dec 2020 17:44:01 -0500 Subject: [PATCH] Update extra.js --- 0.1/javascripts/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0.1/javascripts/extra.js b/0.1/javascripts/extra.js index 10faee99..47b2f759 100644 --- a/0.1/javascripts/extra.js +++ b/0.1/javascripts/extra.js @@ -8,7 +8,7 @@ window.addEventListener("DOMContentLoaded", function() { if(versions[id]["aliases"].length > 0 && versions[id]["aliases"].includes("latest")) latest_version = "/" + versions[id].version + "/" if(!window.location.pathname.includes("/latest/") && (latest_version.length > 0 && !window.location.pathname.includes(latest_version))) - document.querySelector("div[data-md-component=announce]").innerHTML = "
You are seeing the docs for a previous version of RAPIDS, click here to go to the latest
" + document.querySelector("div[data-md-component=announce]").innerHTML = "
You are seeing the docs for a previous version of RAPIDS, click here to go to the latest
" }; xhr.send(); });