mirror of https://github.com/vector-im/riot-web
				
				
				
			Remove redundant role elements
							parent
							
								
									4fc4ae1e99
								
							
						
					
					
						commit
						1a0ea29995
					
				|  | @ -619,12 +619,12 @@ module.exports = React.createClass({ | |||
|         switch (section) { | ||||
|             case 'im.vector.fake.direct': | ||||
|                 return <span className="mx_RoomList_headerButtons"> | ||||
|                     <StartChatButton role='start_chat' size="16" /> | ||||
|                     <StartChatButton size="16" /> | ||||
|                 </span>; | ||||
|             case 'im.vector.fake.recent': | ||||
|                 return <span className="mx_RoomList_headerButtons"> | ||||
|                     <RoomDirectoryButton role='room_directory' size="16" /> | ||||
|                     <CreateRoomButton role='create_room' size="16" /> | ||||
|                     <RoomDirectoryButton size="16" /> | ||||
|                     <CreateRoomButton size="16" /> | ||||
|                 </span>; | ||||
|         } | ||||
|     }, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker