Skip to content

Commit f804dae

Browse files
committed
correct syntax
1 parent 37c592e commit f804dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/scatter3d/convert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ function calculateErrorParams(errors) {
136136
function parseAlignmentX(a) {
137137
if(a === null || a === undefined) return 0;
138138

139-
return (a.indexOf('left') > -1) ? -1 :
139+
return (a.indexOf('left') > -1) ? -1 :
140140
(a.indexOf('right') > -1) ? 1 : 0;
141141
}
142142

143143
function parseAlignmentY(a) {
144144
if(a === null || a === undefined) return 0;
145145

146-
return (a.indexOf('top') > -1) ? -1 :
146+
return (a.indexOf('top') > -1) ? -1 :
147147
(a.indexOf('bottom') > -1) ? 1 : 0;
148148
}
149149

0 commit comments

Comments
 (0)