Started work on PM Panel layout

This commit is contained in:
rainbow napkin 2025-09-25 23:32:04 -04:00
parent 67edef9035
commit e19ae74412
11 changed files with 198 additions and 0 deletions

View file

@ -20,5 +20,18 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
class pmHandler{
constructor(client){
this.client = client;
this.pmIcon = document.querySelector('#chat-panel-pm-icon');
this.defineListeners();
this.setupInput();
}
defineListeners(){
}
setupInput(){
this.pmIcon.addEventListener("click", ()=>{this.client.cPanel.setActivePanel(new pmPanel(client))});
}
}