Varedit remembers search + minor styles (#10393)

Varedit now remembers what was in the 'search' field when you click the 'refresh' link. This makes our miserable lives a little less miserable.
    Tweaked varedit styles ever so slightly: it will now likely use a "better" monospace font depending on what's on your system. Var names are now bold and also monospace.
    The window spawns a tiny bit bigger.
This commit is contained in:
Jiří Barouš
2020-11-01 10:44:48 +01:00
committed by GitHub
parent 036f45ac3e
commit bb5022bf39
4 changed files with 22 additions and 9 deletions

View File

@@ -14,7 +14,10 @@ function updateSearch() {
} else {
li.style.display = "none";
}
}
}
var refresh_link = document.getElementById('refresh');
refresh_link.href = refresh_link.getAttribute('data-initial-href') + filter;
}
function selectTextField() {