[mobile] Fix context menu
This commit is contained in:
parent
b154777f5a
commit
6e475b9e90
|
@ -18,6 +18,7 @@ class ContextMenuController extends Component {
|
|||
extraItems: []
|
||||
};
|
||||
|
||||
this.fastCoAuthTips = [];
|
||||
this.onMenuItemClick = this.onMenuItemClick.bind(this);
|
||||
this.onMenuClosed = this.onMenuClosed.bind(this);
|
||||
this.onActionClosed = this.onActionClosed.bind(this);
|
||||
|
@ -161,9 +162,6 @@ class ContextMenuController extends Component {
|
|||
/** coauthoring begin **/
|
||||
const tipHeight = 20;
|
||||
|
||||
if (!this.fastCoAuthTips) {
|
||||
this.fastCoAuthTips = [];
|
||||
}
|
||||
let src;
|
||||
for (let i=0; i<this.fastCoAuthTips.length; i++) {
|
||||
if (this.fastCoAuthTips[i].attr('userid') === UserId) {
|
||||
|
|
Loading…
Reference in a new issue