Skip to content

Commit 27f5b5e

Browse files
committed
1 parent 0b8e8e5 commit 27f5b5e

File tree

2 files changed

+7
-0
lines changed
  • ts/WoltLabSuite/Core/Component/User/RecentActivity
  • wcfsetup/install/files/js/WoltLabSuite/Core/Component/User/RecentActivity

2 files changed

+7
-0
lines changed

ts/WoltLabSuite/Core/Component/User/RecentActivity/Loader.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ function initShowMoreButton(container: HTMLElement): void {
7575

7676
function initSwitchContextButtons(container: HTMLElement): void {
7777
container.querySelectorAll(".recentActivityList__switchContextButton").forEach((button) => {
78+
if (button.classList.contains("active")) {
79+
return;
80+
}
81+
7882
button.addEventListener(
7983
"click",
8084
promiseMutex(() => switchContext(container)),

wcfsetup/install/files/js/WoltLabSuite/Core/Component/User/RecentActivity/Loader.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)