mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 18:22:51 +08:00
fix bug 72709
This commit is contained in:
@ -90,7 +90,7 @@ class SearchView extends Component {
|
||||
|
||||
componentDidMount() {
|
||||
this.$replace = $$('#idx-replace-val');
|
||||
const $editor = $$('#editor_sdk');
|
||||
const $editor = $$('#id_viewer_overlay, #ws-canvas-graphic-overlay');
|
||||
|
||||
this.onEditorTouchStart = this.onEditorTouchStart.bind(this);
|
||||
this.onEditorTouchEnd = this.onEditorTouchEnd.bind(this);
|
||||
@ -132,7 +132,7 @@ class SearchView extends Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
$$('#editor_sdk')
|
||||
$$('#id_viewer_overlay, #ws-canvas-graphic-overlay')
|
||||
.off('pointerdown', this.onEditorTouchStart)
|
||||
.off('pointerup', this.onEditorTouchEnd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user