diff options
Diffstat (limited to 'docs/components/angular-bootstrap/bootstrap.js')
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap.js | 4 |
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'); + } } }; }; |
