Permalink
Browse files

added border to center text mode

  • Loading branch information...
Stephan Groß
Stephan Groß committed Apr 11, 2012
1 parent 94818a4 commit ac6036001fcaac0a5458e2f6ab33f0f8d0817f37
Showing with 4 additions and 0 deletions.
  1. +4 −0 bootstrap-progressbar.js
View
@@ -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
}

0 comments on commit ac60360

Please sign in to comment.