From 707e51aa9dd8fb3257b224f7ee0f69245367fbc3 Mon Sep 17 00:00:00 2001 From: Yat Ho Date: Thu, 9 Nov 2023 00:34:55 +0800 Subject: [PATCH] feat: display full client name in tooltip (#6224) --- web/src/inspector.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/inspector.js b/web/src/inspector.js index f670dd3f1..ed662200b 100644 --- a/web/src/inspector.js +++ b/web/src/inspector.js @@ -617,7 +617,10 @@ export class Inspector extends EventTarget { setTextContent(td, peer.address); td.setAttribute('title', peer.address); }, - (peer, td) => setTextContent(td, peer.clientName), + (peer, td) => { + setTextContent(td, peer.clientName); + td.setAttribute('title', peer.clientName); + }, ]; const rows = [];