mirror of https://github.com/vector-im/riot-web
parent
4fdb64a049
commit
1a236499b1
|
@ -24,7 +24,7 @@ import dis from '../../../dispatcher';
|
||||||
import MatrixClientPeg from '../../../MatrixClientPeg';
|
import MatrixClientPeg from '../../../MatrixClientPeg';
|
||||||
import DMRoomMap from '../../../utils/DMRoomMap';
|
import DMRoomMap from '../../../utils/DMRoomMap';
|
||||||
import sdk from '../../../index';
|
import sdk from '../../../index';
|
||||||
import ContextualMenu from '../../structures/ContextualMenu';
|
import {createMenu} from '../../structures/ContextualMenu';
|
||||||
import * as RoomNotifs from '../../../RoomNotifs';
|
import * as RoomNotifs from '../../../RoomNotifs';
|
||||||
import * as FormattingUtils from '../../../utils/FormattingUtils';
|
import * as FormattingUtils from '../../../utils/FormattingUtils';
|
||||||
import AccessibleButton from '../elements/AccessibleButton';
|
import AccessibleButton from '../elements/AccessibleButton';
|
||||||
|
@ -217,7 +217,7 @@ module.exports = React.createClass({
|
||||||
y = y - (chevronOffset + 8); // where 8 is half the height of the chevron
|
y = y - (chevronOffset + 8); // where 8 is half the height of the chevron
|
||||||
|
|
||||||
const self = this;
|
const self = this;
|
||||||
ContextualMenu.createMenu(RoomTileContextMenu, {
|
createMenu(RoomTileContextMenu, {
|
||||||
chevronOffset: chevronOffset,
|
chevronOffset: chevronOffset,
|
||||||
left: x,
|
left: x,
|
||||||
top: y,
|
top: y,
|
||||||
|
|
Loading…
Reference in New Issue