From 813a6403346b266549fc18da47fa1a97e8a86fc1 Mon Sep 17 00:00:00 2001 From: Stefan Daniel Schwarz Date: Sun, 27 Aug 2023 12:13:55 +0200 Subject: [PATCH] Add model info to model icon as title --- public/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/script.js b/public/script.js index 6b0895187..1e6be48b1 100644 --- a/public/script.js +++ b/public/script.js @@ -1324,6 +1324,7 @@ function insertSVGIcon(mes, extra) { // Add classes for styling and identification image.classList.add('icon-svg', 'timestamp-icon'); image.src = `/img/${modelName}.svg`; + image.title = `${extra?.api ? extra.api + ' - ' : ''}${extra?.model ?? ''}`; image.onload = async function () { // Check if an SVG already exists adjacent to the timestamp