Spaces:
Sleeping
Sleeping
Update application/static/js/components/uiManager.js
Browse files
application/static/js/components/uiManager.js
CHANGED
@@ -50,13 +50,16 @@ class UIManager{
|
|
50 |
this.handleImageUpload();
|
51 |
});
|
52 |
|
|
|
53 |
|
54 |
}
|
55 |
async run(){
|
|
|
56 |
await this.initializer.initialize();
|
57 |
this.handleTextBoxHeight();
|
58 |
this.events();
|
59 |
}
|
|
|
60 |
events(){
|
61 |
this.sendBtn.addEventListener('click',()=>{
|
62 |
this.send();
|
|
|
50 |
this.handleImageUpload();
|
51 |
});
|
52 |
|
53 |
+
console.log("UIManager constructor called"); // Log constructor
|
54 |
|
55 |
}
|
56 |
async run(){
|
57 |
+
console.log("UIManager run called"); // Log run
|
58 |
await this.initializer.initialize();
|
59 |
this.handleTextBoxHeight();
|
60 |
this.events();
|
61 |
}
|
62 |
+
//Rest of your UIManager remains the same
|
63 |
events(){
|
64 |
this.sendBtn.addEventListener('click',()=>{
|
65 |
this.send();
|