mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 18:01:35 +03:00
Change comment styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
18de342fa1
commit
776b0e8198
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ export default class ImageView extends React.Component {
|
||||||
lastY = 0;
|
lastY = 0;
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
// We have to use addEventListener() because the listener
|
/* We have to use addEventListener() because the listener
|
||||||
// needs to be passive in order to work with Chromium
|
* needs to be passive in order to work with Chromium */
|
||||||
this.focusLock.addEventListener('wheel', this.onWheel, { passive: false });
|
this.focusLock.addEventListener('wheel', this.onWheel, { passive: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue