From 378a93379713c948f04a363291716c17dce9d59b Mon Sep 17 00:00:00 2001 From: Tasos Bekos Date: Sat, 15 Feb 2014 18:21:17 +0100 Subject: [PATCH] fix(progressbar): number filter in bar template and only for percent Closes #1807 --- src/progressbar/test/progressbar.spec.js | 2 -- template/progressbar/bar.html | 2 +- template/progressbar/progressbar.html | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/progressbar/test/progressbar.spec.js b/src/progressbar/test/progressbar.spec.js index 6b82479b37..bae03b6ea5 100644 --- a/src/progressbar/test/progressbar.spec.js +++ b/src/progressbar/test/progressbar.spec.js @@ -81,8 +81,6 @@ describe('progressbar directive', function () { var bar = getBar(0); expect(bar.css('width')).toBe('50.34%'); - - expect(bar.attr('aria-valuenow')).toBe('50'); expect(bar.attr('aria-valuetext')).toBe('50%'); }); diff --git a/template/progressbar/bar.html b/template/progressbar/bar.html index dc347e8f73..bde46dca55 100644 --- a/template/progressbar/bar.html +++ b/template/progressbar/bar.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/template/progressbar/progressbar.html b/template/progressbar/progressbar.html index 1ba8094704..efb6503302 100644 --- a/template/progressbar/progressbar.html +++ b/template/progressbar/progressbar.html @@ -1,3 +1,3 @@
-
+
\ No newline at end of file