mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Remove stuff that was merged from working space
This commit is contained in:
parent
c91b642a8b
commit
c98f7f926a
@ -39,23 +39,6 @@ module.exports = React.createClass({
|
||||
componentDidMount: function() {
|
||||
window.addEventListener('resize', this.handleResize);
|
||||
this.handleResize();
|
||||
|
||||
matrixLinkify.onUserClick = function(e, userId) {
|
||||
// this can really go anywhere..
|
||||
// sprout a MemberInfo context menu.
|
||||
console.log("Context => %s => %s", userId, e.target);
|
||||
|
||||
var MemberInfo = sdk.getComponent('molecules.MemberInfo');
|
||||
var member = new RoomMember(null, href);
|
||||
ContextualMenu.createMenu(MemberInfo, {
|
||||
member: member,
|
||||
right: window.innerWidth - e.pageX,
|
||||
top: e.pageY,
|
||||
onFinished: function() {
|
||||
console.log("^_^ All done!");
|
||||
}
|
||||
});
|
||||
};
|
||||
},
|
||||
|
||||
componentWillUnmount: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user