From 99c5ff568a809a35e3344df1625aca456bb9e3a4 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 19 Aug 2016 00:25:51 +0200 Subject: [PATCH] Fixed multiple bbcode blocks toggled by one button --- .../install/files/js/WoltLabSuite/Core/Bbcode/Collapsible.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1