aboutsummaryrefslogtreecommitdiffstats
path: root/docs/components
diff options
context:
space:
mode:
authorBrian Ford2013-11-06 08:26:45 -0800
committerBrian Ford2013-11-06 08:47:06 -0800
commit5614fd283a22d130cf5e09dade67be3f3c3a97c2 (patch)
tree3edbb5131c117e129527129143d5c1c943ca196a /docs/components
parentda344daa4023556f8abbef6d8ad87a16362b5861 (diff)
downloadangular.js-5614fd283a22d130cf5e09dade67be3f3c3a97c2.tar.bz2
docs(guide/providers): add providers documentation
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/angular-bootstrap/bootstrap.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/components/angular-bootstrap/bootstrap.js b/docs/components/angular-bootstrap/bootstrap.js
index 81a599e9..f610bfb4 100644
--- a/docs/components/angular-bootstrap/bootstrap.js
+++ b/docs/components/angular-bootstrap/bootstrap.js
@@ -193,7 +193,9 @@ directive.table = function() {
return {
restrict: 'E',
link: function(scope, element, attrs) {
- element.addClass('table table-bordered table-striped code-table');
+ if (!attrs.class) {
+ element.addClass('table table-bordered table-striped code-table');
+ }
}
};
};