From 4c8eab26927aa2825ae523f6b714c4b2b54c2dd3 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 3 Jan 2024 23:52:05 +0000 Subject: [PATCH] Set more button tooltips. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4731 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/client.js | 18 ++++++------------ core/index.html | 17 ++++++++++++----- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/core/client.js b/core/client.js index deedf6e2..61f744f0 100644 --- a/core/client.js +++ b/core/client.js @@ -120,12 +120,6 @@ class TfNavigationElement extends LitElement { } } - set_access_key_title(event) { - if (!event.srcElement.title) { - event.srcElement.title = `${event.srcElement.dataset.tip} [${(event.srcElement.accessKeyLabel || event.srcElement.accessKey).toUpperCase()}]`; - } - } - render() { let self = this; return html` @@ -148,10 +142,10 @@ class TfNavigationElement extends LitElement {
this.show_version = !this.show_version}>😎 ['name', 'number'].indexOf(x[0]) == -1).map(x => `\n* ${x[0]}: ${x[1]}`)}>${this.version?.number} - TF - apps - edit - self.show_permissions = !self.show_permissions}>🎛️ + TF + apps + edit + self.show_permissions = !self.show_permissions}>🎛️ ${this.status.message} ${this.render_permissions()} @@ -294,8 +288,8 @@ class TfFilesPaneElement extends LitElement {
openFile(event.detail.file)}>
-
-
+
+
`; return html` diff --git a/core/index.html b/core/index.html index d4b087ae..8052543a 100644 --- a/core/index.html +++ b/core/index.html @@ -5,18 +5,25 @@ +