Skip to content

Commit 9f25a63

Browse files
committed
1 parent 2a34443 commit 9f25a63

File tree

2 files changed

+4
-1
lines changed
  • ts/WoltLabSuite/Core/Component/Image
  • wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image

2 files changed

+4
-1
lines changed

ts/WoltLabSuite/Core/Component/Image/Viewer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Fancybox } from "@fancyapps/ui";
22
import { userSlideType } from "@fancyapps/ui/types/Carousel/types";
33
import { OptionsType } from "@fancyapps/ui/types/Fancybox/options";
4+
import { getPageOverlayContainer } from "WoltLabSuite/Core/Helper/PageOverlay";
45

56
const LOCALES = ["cs", "de", "en", "es", "fr", "it", "lv", "pl", "sk"];
67

@@ -26,6 +27,7 @@ export async function createFancybox(userSlides?: Array<userSlideType>): Promise
2627
async function getDefaultConfig(): Promise<Partial<OptionsType>> {
2728
return {
2829
l10n: await getLocalization(),
30+
parentEl: getPageOverlayContainer(),
2931
Html: {
3032
videoAutoplay: false,
3133
},

wcfsetup/install/files/js/WoltLabSuite/Core/Component/Image/Viewer.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)