projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f10dee3
)
Roo/bootstrap/DocumentSlider.js
author
edward
<edward@roojs.com>
Thu, 9 Nov 2017 11:03:13 +0000
(19:03 +0800)
committer
edward
<edward@roojs.com>
Thu, 9 Nov 2017 11:03:13 +0000
(19:03 +0800)
Roo/bootstrap/DocumentSlider.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DocumentSlider.js
b/Roo/bootstrap/DocumentSlider.js
index
1f795d8
..
e8f0ff9
100644
(file)
--- a/
Roo/bootstrap/DocumentSlider.js
+++ b/
Roo/bootstrap/DocumentSlider.js
@@
-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();
}