From f318f4cdfb028465d822b438665c94bdcb4fcadd Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 15 Mar 2022 15:28:54 +0100 Subject: [passthrough] Fix #hash highlighting of devices --- modules-available/passthrough/templates/hardware-list.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules-available/passthrough') diff --git a/modules-available/passthrough/templates/hardware-list.html b/modules-available/passthrough/templates/hardware-list.html index b00baea7..da04a1fe 100644 --- a/modules-available/passthrough/templates/hardware-list.html +++ b/modules-available/passthrough/templates/hardware-list.html @@ -16,16 +16,16 @@ - + - - + + {{#devlist}} - +
{{lang_deviceIdNumeric}}{{lang_deviceIdNumeric}} {{lang_deviceName}}{{lang_useCount}}{{lang_passthroughGroup}}{{lang_useCount}}{{lang_passthroughGroup}}
{{vendor}}:{{device}} [{{rev}}]{{vendor}}:{{device}} [{{rev}}] @@ -126,6 +126,7 @@ $('tr.tr').removeClass('bg-success'); if (c && c.length > 1) { var d = $('.c-' + c.substr(1)).addClass('bg-success'); + d.closest('.collapse').collapse('show'); if (d.length > 0) d[0].scrollIntoView(); } } -- cgit v1.2.3-55-g7522