Skip to content

Commit d5b357f

Browse files
committed
fix scoping
1 parent 8e12ff3 commit d5b357f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/app.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ $('[data-route="axes"] [data-name="btn-dropdown"]').dropdown();
419419
$('[data-route="axes"] [data-name="active-state"]').text('Not connected');
420420
$('[data-route="axes"] select[data-name="select-distance"]').val('1');
421421

422-
});
423422

424423
function nextSelectDistance() {
425424
const $current = jogDistanceSelect.find('option:selected');
@@ -430,7 +429,7 @@ function nextSelectDistance() {
430429
$current.prop('selected', false);
431430
$next.prop('selected', true);
432431
}
433-
$('button[data-name="next-select-distance"]').on('click', nextSelectDistance)
432+
$('button[data-name="next-select-distance"]').on('click', nextSelectDistance);
434433

435434
function prevSelectDistance() {
436435
const $current = jogDistanceSelect.find('option:selected');
@@ -441,5 +440,7 @@ function prevSelectDistance() {
441440
$current.prop('selected', false);
442441
$prev.prop('selected', true);
443442
}
444-
$('button[data-name="prev-select-distance"]').on('click', prevSelectDistance)
443+
$('button[data-name="prev-select-distance"]').on('click', prevSelectDistance);
444+
445+
});
445446

0 commit comments

Comments
 (0)