ux/Slideshow.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 22 Jul 2010 07:05:38 +0000 (15:05 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 22 Jul 2010 07:05:38 +0000 (15:05 +0800)
ux/Slideshow.js

index 9aef13c..e15728b 100644 (file)
@@ -124,7 +124,7 @@ Roo.apply(Roo.ux.Slideshow.prototype, {
                
                this.textIn = this.iImageId+1 + ' of ' + this.numOfImages;
                this.updatecounter();
-        if (this.images.length == 1) {
+        if (this.slides.length == 1) {
             return;
         }
         if (this.running) {