mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:48:30 +00:00
lightbox_canvas: Fix use of unsupported const.
This commit is contained in:
@@ -43,7 +43,7 @@ var LightboxCanvas = (function () {
|
|||||||
|
|
||||||
// wheelEvent.deltaMode is a value that describes what the unit is
|
// wheelEvent.deltaMode is a value that describes what the unit is
|
||||||
// for the `deltaX`, `deltaY`, and `deltaZ` properties.
|
// for the `deltaX`, `deltaY`, and `deltaZ` properties.
|
||||||
const DELTA_MODE = {
|
var DELTA_MODE = {
|
||||||
PIXEL: 0,
|
PIXEL: 0,
|
||||||
LINE: 1,
|
LINE: 1,
|
||||||
PAGE: 2,
|
PAGE: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user