Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added border to center text mode

  • Loading branch information...
commit ac6036001fcaac0a5458e2f6ab33f0f8d0817f37 1 parent 94818a4
Stephan Groß authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 bootstrap-progressbar.js
View
4 bootstrap-progressbar.js
@@ -53,6 +53,9 @@
'position': 'absolute'
, 'float': 'left'
, 'overflow': 'hidden'
+ , '-webkit-border-radius': options.border_radius
+ , '-moz-border-radius': options.border_radius
+ , 'border-radius': options.border_radius
})
$parent.prepend('<span class="progressbar-back-text" style="position:absolute;width:100%;text-align:center"></span>')
$this.prepend('<span class="progressbar-front-text" style="display:block;text-align:center"></span>')
@@ -121,6 +124,7 @@
, refresh_speed: 50
, display_text: $.fn.progressbar.display_text.none
, use_percentage: true
+ , border_radius: '4px'
, callback: $.noop
}
Please sign in to comment.
Something went wrong with that request. Please try again.