Skip to content

Commit

Permalink
remove redundant elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Hamilton committed Apr 10, 2018
1 parent f768f68 commit 7a74ce8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/controllers/controller.line.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ module.exports = function(Chart) {
pointRotation = custom.pointRotation;
} else if (!isNaN(dataset.pointRotation) || helpers.isArray(dataset.pointRotation)) {
pointRotation = helpers.valueAtIndexOrDefault(dataset.pointRotation, index, pointRotation);
} else if (!isNaN(dataset.pointRotation)) {
pointRotation = dataset.pointRotation;
}
return pointRotation;
},
Expand Down

0 comments on commit 7a74ce8

Please sign in to comment.