[mobile] Fix bug 51268
This commit is contained in:
parent
60f2c149e3
commit
5f2b4ad4a1
|
@ -457,7 +457,11 @@ class ViewCommentsController extends Component {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
closeViewCurComments () {
|
closeViewCurComments () {
|
||||||
f7.sheet.close('#view-comment-sheet');
|
if (Device.phone) {
|
||||||
|
f7.sheet.close('#view-comment-sheet');
|
||||||
|
} else {
|
||||||
|
f7.popover.close('#view-comment-popover');
|
||||||
|
}
|
||||||
this.setState({isOpenViewCurComments: false});
|
this.setState({isOpenViewCurComments: false});
|
||||||
}
|
}
|
||||||
onResolveComment (comment) {
|
onResolveComment (comment) {
|
||||||
|
|
Loading…
Reference in a new issue