mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Everything to ES2020
This commit is contained in:
parent
84ffe1e552
commit
78178ecc2f
16 changed files with 35 additions and 45 deletions
|
|
@ -75,8 +75,8 @@
|
|||
// create drag image from custom element or drag source
|
||||
img = src.cloneNode(true);
|
||||
copyStyle(src, img);
|
||||
img._x = xOffset == null ? src.clientWidth / 2 : xOffset;
|
||||
img._y = yOffset == null ? src.clientHeight / 2 : yOffset;
|
||||
img._x = xOffset ?? src.clientWidth / 2;
|
||||
img._y = yOffset ?? src.clientHeight / 2;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue