Skip to content

Commit 7a74ce8

Browse files
author
Joel Hamilton
committed
remove redundant elseif
1 parent f768f68 commit 7a74ce8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/controllers/controller.line.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ module.exports = function(Chart) {
157157
pointRotation = custom.pointRotation;
158158
} else if (!isNaN(dataset.pointRotation) || helpers.isArray(dataset.pointRotation)) {
159159
pointRotation = helpers.valueAtIndexOrDefault(dataset.pointRotation, index, pointRotation);
160-
} else if (!isNaN(dataset.pointRotation)) {
161-
pointRotation = dataset.pointRotation;
162160
}
163161
return pointRotation;
164162
},

0 commit comments

Comments
 (0)