Fill in some accesskeys and tooltips.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3823 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-02-05 23:04:04 +00:00
parent 1aa4b0e590
commit 412dce0a47
2 changed files with 12 additions and 4 deletions

View File

@ -165,6 +165,14 @@ function stats() {
document.getElementById("statsPane").style.display = 'flex';
}
function toggleStats() {
if (document.getElementById("statsPane").style.display == 'none') {
stats();
} else {
closeStats();
}
}
function guessMode(name) {
return name.endsWith(".js") ? "javascript" :
name.endsWith(".html") ? "htmlmixed" :