From 7fc44cc466bfd42d13b8321267ce1c75f2dae027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Siiri=20Yl=C3=B6nen?= Date: Tue, 15 Oct 2024 13:21:43 +0300 Subject: [PATCH] Explanatory comment added. --- themes/finna2/js/finna-organisation-info.js | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/finna2/js/finna-organisation-info.js b/themes/finna2/js/finna-organisation-info.js index df9e8b1268f..a348e77a922 100644 --- a/themes/finna2/js/finna-organisation-info.js +++ b/themes/finna2/js/finna-organisation-info.js @@ -491,6 +491,7 @@ finna.organisationInfo = (function finnaOrganisationInfo() { if (buttonWrapper) { var moreBtn = buttonWrapper.querySelector('.more-btn'); moreBtn.addEventListener('click', () => { + // Focus set in truncate.js shifted from .less-btn to opened truncated element elem.focus(); }); }