From 5614fd283a22d130cf5e09dade67be3f3c3a97c2 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Wed, 6 Nov 2013 08:26:45 -0800 Subject: docs(guide/providers): add providers documentation --- docs/components/angular-bootstrap/bootstrap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/components') 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'); + } } }; }; -- cgit v1.2.3