aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
authormadelinegr <monika_hedman@brown.edu>2019-06-11 16:47:15 -0400
committermadelinegr <monika_hedman@brown.edu>2019-06-11 16:47:15 -0400
commite65fba03470cc38bc610baf4ff77fcc13cc08b74 (patch)
treefa2f9c00542802824d06b9ece5ee549df60a8d17 /src/client/views/nodes/ImageBox.tsx
parentd9de5d5dc660d3c859590ece04fee5613621b56e (diff)
lint errors fixed
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r--src/client/views/nodes/ImageBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index 0d19508fa..c93b84949 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -88,7 +88,7 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD
onPointerDown = (e: React.PointerEvent): void => {
if (e.shiftKey && e.ctrlKey)
- e.stopPropagation();
+ {e.stopPropagation();}
// if (Date.now() - this._lastTap < 300) {
// if (e.buttons === 1) {
// this._downX = e.clientX;
@@ -189,7 +189,7 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD
@action onError = () => {
let timeout = this._curSuffix === "_s" ? this._smallRetryCount : this._curSuffix === "_m" ? this._mediumRetryCount : this._largeRetryCount;
if (timeout < 10)
- setTimeout(this.retryPath, Math.min(10000, timeout * 5));
+ { setTimeout(this.retryPath, Math.min(10000, timeout * 5));}
}
_curSuffix = "_m";
render() {