Skip to content

Commit

Permalink
Fixed an issue with multiple calls to the progressbar in IE
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGoderre committed Aug 30, 2012
1 parent 5070ab6 commit e52896e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/js/polyfills/progress-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions src/js/polyfills/progress.js
Expand Up @@ -40,9 +40,11 @@
}

$this.attr(attr);
$this.on('DOMAttrModified propertychange', function () {
$this.progress();
});
setTimeout(function () {
$this.on('DOMAttrModified propertychange', function () {
$this.progress();
});
}, 0);
});
};
$('progress').progress();
Expand Down

0 comments on commit e52896e

Please sign in to comment.