From 7a74ce89122d59b9217bcc8a86bc5249a644c909 Mon Sep 17 00:00:00 2001 From: Joel Hamilton Date: Thu, 8 Mar 2018 19:45:15 -0500 Subject: [PATCH] remove redundant elseif --- src/controllers/controller.line.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/controllers/controller.line.js b/src/controllers/controller.line.js index bd81427e737..80979e589ad 100644 --- a/src/controllers/controller.line.js +++ b/src/controllers/controller.line.js @@ -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; },