Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bitWolfy committed Mar 20, 2020
1 parent e65f3ef commit 48fd969
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/js/components/Modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class Modal {
private config: ModalConfig;
private $modal: JQuery<HTMLElement>;

private triggers: ModalTrigger[];
private triggers: ModalTrigger[] = [];
private $activeTrigger: JQuery<HTMLElement>;

private index: number;
Expand All @@ -33,8 +33,6 @@ export class Modal {
if (config.content === undefined) config.content = [];
this.config = config;

console.log(this.config.uid);

this.create();
if (this.config.disabled) this.disable();

Expand Down

0 comments on commit 48fd969

Please sign in to comment.