mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Added conversation page to top menu
This commit is contained in:
		@@ -77,18 +77,18 @@ ComunicWeb.components.menuBar.authenticated = {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		//Add conversations link
 | 
			
		||||
		// var conversationsButton = createElem2({
 | 
			
		||||
		// 	appendTo: dropdownContent,
 | 
			
		||||
		// 	type: "li"
 | 
			
		||||
		// });
 | 
			
		||||
		// var conversationsLink = createElem2({
 | 
			
		||||
		// 	appendTo: conversationsButton,
 | 
			
		||||
		// 	type: "a",
 | 
			
		||||
		// 	innerHTML: "Conversations"
 | 
			
		||||
		// });
 | 
			
		||||
		// conversationsButton.onclick = function(){
 | 
			
		||||
		// 	openPage("conversations");
 | 
			
		||||
		// };
 | 
			
		||||
		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({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user