Started work on PM Panel layout
This commit is contained in:
parent
67edef9035
commit
e19ae74412
11 changed files with 198 additions and 0 deletions
|
|
@ -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))});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue