Roo/bootstrap/DocumentSlider.js
authoredward <edward@roojs.com>
Thu, 9 Nov 2017 11:03:13 +0000 (19:03 +0800)
committeredward <edward@roojs.com>
Thu, 9 Nov 2017 11:03:13 +0000 (19:03 +0800)
Roo/bootstrap/DocumentSlider.js

index 1f795d8..e8f0ff9 100644 (file)
@@ -146,10 +146,14 @@ Roo.extend(Roo.bootstrap.DocumentSlider, Roo.bootstrap.Component,  {
         
         this.titleEl.dom.innerHTML = String.format('{0} / {1}', this.indicator, this.files.length);
         
+        this.prevIndicator.show();
+        
         if(this.indicator == 1){
             this.prevIndicator.hide();
         }
         
+        this.nextIndicator.show();
+        
         if(this.indicator == this.files.length){
             this.nextIndicator.hide();
         }