Skip to content

Commit

Permalink
colorBox options arg is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed May 13, 2024
1 parent 164b9ab commit 1b4f9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/corelib/src/ui/helpers/uploadhelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export namespace UploadHelper {
return resolveUrl('~/upload/') + filename;
}

export function colorBox(link: HTMLElement | ArrayLike<HTMLElement>, options: any): void {
export function colorBox(link: HTMLElement | ArrayLike<HTMLElement>, options?: any): void {
link = isArrayLike(link) ? link[0] : link;
if (!link)
return;
Expand Down

0 comments on commit 1b4f9ee

Please sign in to comment.