diff options
| author | Peter Bacon Darwin | 2013-11-11 00:09:15 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2013-11-11 00:09:15 +0000 |
| commit | a61b65d01b468502fe53d68818949d3fcc9f20f6 (patch) | |
| tree | 269178c72343f64a675ba4def5eb27d5e250784d /docs/components | |
| parent | fb483d56a7d8070f587c1d8b464f70c597c2f514 (diff) | |
| download | angular.js-a61b65d01b468502fe53d68818949d3fcc9f20f6.tar.bz2 | |
fix(angular-bootstrap): make IE8 happy
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/angular-bootstrap/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/angular-bootstrap/bootstrap.js b/docs/components/angular-bootstrap/bootstrap.js index f610bfb4..b9b5e382 100644 --- a/docs/components/angular-bootstrap/bootstrap.js +++ b/docs/components/angular-bootstrap/bootstrap.js @@ -193,7 +193,7 @@ directive.table = function() { return { restrict: 'E', link: function(scope, element, attrs) { - if (!attrs.class) { + if (!attrs['class']) { element.addClass('table table-bordered table-striped code-table'); } } |
