From 48fd969a40aab2214c58cae5b8f4f99e1bde706d Mon Sep 17 00:00:00 2001 From: bitWolfy Date: Thu, 19 Mar 2020 17:45:14 -0700 Subject: [PATCH] Minor fix --- src/js/components/Modal.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/js/components/Modal.ts b/src/js/components/Modal.ts index 4c624605..49b4f5a3 100644 --- a/src/js/components/Modal.ts +++ b/src/js/components/Modal.ts @@ -7,7 +7,7 @@ export class Modal { private config: ModalConfig; private $modal: JQuery; - private triggers: ModalTrigger[]; + private triggers: ModalTrigger[] = []; private $activeTrigger: JQuery; private index: number; @@ -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();