summaryrefslogtreecommitdiffstats
path: root/apps/samples/vrml/viewer-webgl.js
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-19 16:57:33 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-19 16:57:33 (GMT)
commit60aab00ff93e0821b426fe66f1d91e96f7e7d27b (patch)
tree17e55e09ac623f8aef9ec391d907390b461e3f67 /apps/samples/vrml/viewer-webgl.js
parented8243125946e86bd270c94405a57b65e0ef2b83 (diff)
downloaduscxml-60aab00ff93e0821b426fe66f1d91e96f7e7d27b.zip
uscxml-60aab00ff93e0821b426fe66f1d91e96f7e7d27b.tar.gz
uscxml-60aab00ff93e0821b426fe66f1d91e96f7e7d27b.tar.bz2
forgot to negate an expression
Diffstat (limited to 'apps/samples/vrml/viewer-webgl.js')
-rw-r--r--apps/samples/vrml/viewer-webgl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/samples/vrml/viewer-webgl.js b/apps/samples/vrml/viewer-webgl.js
index c828b1f..c376e25 100644
--- a/apps/samples/vrml/viewer-webgl.js
+++ b/apps/samples/vrml/viewer-webgl.js
@@ -104,8 +104,8 @@ function VRMLViewer(element, params) {
if (!self.imagePath)
self.imagePath = self.listDirectory + "latest";
- if (!self.imageFormat.substring(0, 1) == ".")
- self.imageFormat = "." + self.imageFormat;
+ if (!self.imageFormat.substring(0, 1) !== ".")
+ self.imageFormat = "." + self.imageFormat;
}
normalizeParams();