From: Alexander Ebert Date: Thu, 18 Aug 2016 22:25:51 +0000 (+0200) Subject: Fixed multiple bbcode blocks toggled by one button X-Git-Tag: 3.0.0_Beta_1~676 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99c5ff568a809a35e3344df1625aca456bb9e3a4;p=GitHub%2FWoltLab%2FWCF.git Fixed multiple bbcode blocks toggled by one button --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Bbcode/Collapsible.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Bbcode/Collapsible.js index 392deac15f..edf0edddf5 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Bbcode/Collapsible.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Bbcode/Collapsible.js @@ -21,7 +21,7 @@ define([], function() { container = _containers[0]; container.classList.remove('jsCollapsibleBbcode'); - toggleButton = elBySel('.toggleButton'); + toggleButton = elBySel('.toggleButton', container); if (toggleButton === null) { continue; }