From a61b65d01b468502fe53d68818949d3fcc9f20f6 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Mon, 11 Nov 2013 00:09:15 +0000 Subject: fix(angular-bootstrap): make IE8 happy --- docs/components/angular-bootstrap/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components/angular-bootstrap/bootstrap.js') 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'); } } -- cgit v1.2.3