racket/pkgs/racket-index/scribblings/main/private/root-info.js
Matthew Flatt 2d4f3e2ac9 remove the "racket-pkgs" directory layer
The layer is now redundant, since everything left in "pkgs" is in the
"racket-pkgs" category.
2014-12-08 05:22:59 -07:00

22 lines
490 B
JavaScript

AddOnLoad(function(){
var u = GetCookie("PLT_Root."+racket_root_version, null);
if (u) {
var info = document.getElementById("rootPathInfo");
info.style.display = "block";
}
})
function GoToRootPath() {
return GotoPLTRoot(racket_root_version, "index.html");
}
function DisableRootPath() {
SetCookie("PLT_Root."+racket_root_version, "");
var info = document.getElementById("rootPathInfo");
info.style.display = "none";
return false;
}