aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-16 23:22:40 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-16 23:22:40 -0400
commit501e4acc3eaf619609311778ec5b9305f40384d7 (patch)
tree8352dae0a60ff640289ff1ee03cd3f4334aaac53 /src/client/views/nodes/ImageBox.tsx
parent4d2fe1ce791a3b9e64c52b7dce9c1af28c2523c0 (diff)
parentf505dfa8234de4ea94304b104e801f72ea30ff39 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into kvp
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 30910fb1f..cad8904d0 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -1,5 +1,5 @@
-import { action, observable } from 'mobx';
+import { action, observable, trace } from 'mobx';
import { observer } from "mobx-react";
import Lightbox from 'react-image-lightbox';
import 'react-image-lightbox/style.css'; // This only needs to be imported once in your app
@@ -70,7 +70,7 @@ export class ImageBox extends React.Component<FieldViewProps> {
}
lightbox = (path: string) => {
- const images = [path, "http://www.cs.brown.edu/~bcz/face.gif"];
+ const images = [path];
if (this._isOpen && this.props.isSelected()) {
return (<Lightbox
mainSrc={images[this._photoIndex]}