Skip to content

Commit

Permalink
add semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
nanli-emory committed Apr 5, 2024
1 parent 3f4ece7 commit d2050a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/mini/uicallbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ function locationCallback(layerData) {
return;
}
// locate annotation 3.0
const geoType = item.data.geometries.features[0].geometry.type
const geoType = item.data.geometries.features[0].geometry.type;
if (geoType == 'Point'||geoType == 'Circle'||geoType == 'Ellipse') {
const bound = item.data.geometries.features[0].bound.coordinates;
const center = $CAMIC.viewer.viewport.imageToViewportCoordinates(
Expand Down
2 changes: 1 addition & 1 deletion apps/viewer/uicallbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ function locationCallback(layerData) {
return;
}
// locate annotation 3.0
const geoType = item.data.geometries.features[0].geometry.type
const geoType = item.data.geometries.features[0].geometry.type;
if (geoType == 'Point'||geoType == 'Circle'||geoType == 'Ellipse') {
const bound = item.data.geometries.features[0].bound.coordinates;
const center = $CAMIC.viewer.viewport.imageToViewportCoordinates(
Expand Down

0 comments on commit d2050a8

Please sign in to comment.