mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Created conversations page
This commit is contained in:
		@@ -75,6 +75,21 @@ ComunicWeb.components.menuBar.authenticated = {
 | 
			
		||||
		dropdownContent.className = "dropdown-menu"
 | 
			
		||||
		dropdownContent.setAttribute("role", "menu");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		//Add conversations link
 | 
			
		||||
		var conversationsButton = createElem2({
 | 
			
		||||
			appendTo: dropdownContent,
 | 
			
		||||
			type: "li"
 | 
			
		||||
		});
 | 
			
		||||
		var conversationsLink = createElem2({
 | 
			
		||||
			appendTo: conversationsButton,
 | 
			
		||||
			type: "a",
 | 
			
		||||
			innerHTML: "Conversations"
 | 
			
		||||
		});
 | 
			
		||||
		conversationsButton.onclick = function(){
 | 
			
		||||
			openPage("conversations");
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
		//Add settings link
 | 
			
		||||
		var settingsButton = createElem2({
 | 
			
		||||
			appendTo: dropdownContent,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user