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() {
|
componentDidMount: function() {
|
||||||
window.addEventListener('resize', this.handleResize);
|
window.addEventListener('resize', this.handleResize);
|
||||||
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() {
|
componentWillUnmount: function() {
|
||||||
|
|
Loading…
Reference in New Issue