mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Remove unnecessary/odd addEventListener in Term component unmount hook (#242)
This commit is contained in:
parent
d3736a36aa
commit
08fc3311f9
1 changed files with 0 additions and 2 deletions
|
|
@ -162,8 +162,6 @@ export default class Term extends Component {
|
|||
}
|
||||
|
||||
componentWillUnmount () {
|
||||
const iframeWindow = this.getTermDocument().defaultView;
|
||||
iframeWindow.addEventListener('wheel', this.onWheel);
|
||||
clearTimeout(this.scrollbarsHideTimer);
|
||||
this.props.ref_(null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue