From dd449ee7d8ad0439085e623cf9e930a38a970d4f Mon Sep 17 00:00:00 2001 From: HuiiBuh Date: Thu, 2 Jun 2022 11:22:43 +0200 Subject: [PATCH] Version 4.6.2 --- src/ts/downloaders/download-functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/downloaders/download-functions.ts b/src/ts/downloaders/download-functions.ts index 8589229..f36bfb7 100644 --- a/src/ts/downloaders/download-functions.ts +++ b/src/ts/downloaders/download-functions.ts @@ -35,7 +35,7 @@ export const downloadFile = (downloadUrl: string, progress: ((this: XMLHttpReque * Get the current index of a slider * @param element The element the slider is in */ -export function getSliderIndex(element: HTMLElement): { index: number; isLast: boolean } { +export function getSliderIndex(element: HTMLElement): { index: number; isLast: boolean } { const sliderIndicator = [...element.querySelectorAll(QuerySelectors.postSliderBubble)]; const activeElement = element.querySelector(QuerySelectors.postSliderBubbleActive)!;