From 412dce0a47d6621c1f77c873f606ab95282f5f9c Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 5 Feb 2022 23:04:04 +0000 Subject: [PATCH] Fill in some accesskeys and tooltips. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3823 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/client.js | 8 ++++++++ core/index.html | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/core/client.js b/core/client.js index b61ad254..deaa8eac 100644 --- a/core/client.js +++ b/core/client.js @@ -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" : diff --git a/core/index.html b/core/index.html index 93aa113d..65c8d5f1 100644 --- a/core/index.html +++ b/core/index.html @@ -11,11 +11,11 @@