projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2443e56
)
Fix the unconditional access to an optional element
author
Alexander Ebert
<ebert@woltlab.com>
Mon, 4 Jul 2022 11:04:37 +0000
(13:04 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Mon, 4 Jul 2022 11:04:37 +0000
(13:04 +0200)
See https://www.woltlab.com/community/thread/296182-js-fehler-beim-scrollen-in-mobiler-ansicht/
ts/WoltLabSuite/Core/Ui/Mobile.ts
patch
|
blob
|
blame
|
history
diff --git
a/ts/WoltLabSuite/Core/Ui/Mobile.ts
b/ts/WoltLabSuite/Core/Ui/Mobile.ts
index a796be806e65879422f567cc740f1903a6b5db66..2e589d4a77bbbc2844eecf7a3025e06de6588d6c 100644
(file)
--- a/
ts/WoltLabSuite/Core/Ui/Mobile.ts
+++ b/
ts/WoltLabSuite/Core/Ui/Mobile.ts
@@
-226,7
+226,7
@@
function setupMobileSidebar(): void {
}
function closeDropdown(): void {
- _dropdownMenu
!
.classList.remove("dropdownOpen");
+ _dropdownMenu
?
.classList.remove("dropdownOpen");
}
function toggleMobileNavigation(message: HTMLElement, quickOptions: HTMLElement, navigation: HTMLElement): void {