Skip to content

Commit

Permalink
Use setHeight/Color instead of just height/color
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Bjelkholm committed Aug 2, 2015
1 parent 3d22bf4 commit 1ebcd66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,12 @@ <h2>License</h2>

$scope.new_color = function(color, $event) {
$event.preventDefault();
$scope.progressbar.color(color);
$scope.progressbar.setColor(color);
}

$scope.new_height = function(new_height, $event) {
$event.preventDefault();
$scope.progressbar.height(new_height);
$scope.progressbar.setHeight(new_height);
}

$scope.completeProgress = function($event) {
Expand Down

0 comments on commit 1ebcd66

Please sign in to comment.