ux/Slideshow.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 22 Jul 2010 06:45:41 +0000 (14:45 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 22 Jul 2010 06:45:41 +0000 (14:45 +0800)
ux/Slideshow.js

index 6d1a7a6..d42d3d4 100644 (file)
@@ -83,9 +83,10 @@ Roo.apply(Roo.ux.Slideshow.prototype, {
        startSlideShow: function () {
         var _t  = this;
                window.setInterval(function () {
-            _t.play() },this.wait);
+            _t.play() }, this.wait);
+            
                this.playButton && this.playButton.hide();
-               this.pauseButton && this.pauseButton.appear({ duration: 0});
+               this.pauseButton && this.pauseButton.show();
      
                this.updatecounter();