mirror of https://github.com/vector-im/riot-web
Change comment styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
18de342fa1
commit
776b0e8198
|
@ -61,8 +61,8 @@ export default class ImageView extends React.Component {
|
|||
lastY = 0;
|
||||
|
||||
componentDidMount() {
|
||||
// We have to use addEventListener() because the listener
|
||||
// needs to be passive in order to work with Chromium
|
||||
/* We have to use addEventListener() because the listener
|
||||
* needs to be passive in order to work with Chromium */
|
||||
this.focusLock.addEventListener('wheel', this.onWheel, { passive: false });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue