From 0e921433b90308c2516aacf4100c6282a3a76536 Mon Sep 17 00:00:00 2001 From: moldypenguins Date: Thu, 25 Apr 2013 13:19:10 -0300 Subject: [PATCH] Update ProgressBar.js bug fix(Line 60): changed this.container to this.options.container --- Source/ProgressBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ProgressBar.js b/Source/ProgressBar.js index daaa48a..acef4b3 100644 --- a/Source/ProgressBar.js +++ b/Source/ProgressBar.js @@ -57,7 +57,7 @@ var ProgressBar = new Class({ }); if(this.options.displayText) { this.text = new Element(this.options.displayElement) - .inject(this.container); + .inject(this.options.container); } this.set(this.options.startPercentage); }, @@ -97,4 +97,4 @@ var ProgressBar = new Class({ return this.box; } -}); \ No newline at end of file +});