diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-11 20:41:46 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-11 20:41:46 (GMT) |
commit | d05c26f25d6058f587478dcd51cec4d6ad218fea (patch) | |
tree | 0e0893441fb537a1dd2bfac82e837795c775c4ba | |
parent | 5e93f1c5d1f6d008a80e0dcdca3a4ff86ebeec58 (diff) | |
download | uscxml-d05c26f25d6058f587478dcd51cec4d6ad218fea.zip uscxml-d05c26f25d6058f587478dcd51cec4d6ad218fea.tar.gz uscxml-d05c26f25d6058f587478dcd51cec4d6ad218fea.tar.bz2 |
Bug-fix with prev-button
-rw-r--r-- | apps/samples/vrml/viewer-webgl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/samples/vrml/viewer-webgl.js b/apps/samples/vrml/viewer-webgl.js index 5cec6e6..5585c1d 100644 --- a/apps/samples/vrml/viewer-webgl.js +++ b/apps/samples/vrml/viewer-webgl.js @@ -770,8 +770,8 @@ function VRMLViewer(element, params) { var allItems = self.fileListStore.query(); var foundAt = 0; for (var i = 0; i < allItems.total; i++) { - //console.log(self.serverURL + self.imagePath + " === " + allItems[i].url); - if (self.serverURL + self.imagePath + self.imageFormat === allItems[i].url) { + console.log(self.serverURL + self.imagePath + " === " + allItems[i].url); + if (self.serverURL + self.imagePath === allItems[i].url) { foundAt = i; break; } |