Skip to content

Commit

Permalink
Merge pull request #103 from Whitie/fixtures
Browse files Browse the repository at this point in the history
Fixed TypeError in JS.
  • Loading branch information
czue authored Jan 21, 2023
2 parents 2361f3a + 00ac6cf commit 7ff5b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery_progress/static/celery_progress/celery_progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CeleryProgressBar {
this.onHttpError = options.onHttpError || this.onError;
this.pollInterval = options.pollInterval || 500;
// Other options
this.barColors = Object.assign({}, this.getBarColorsDefault(), options.barColors);
this.barColors = Object.assign({}, this.constructor.getBarColorsDefault(), options.barColors);

let defaultMessages = {
waiting: 'Waiting for task to start...',
Expand Down

0 comments on commit 7ff5b43

Please sign in to comment.