Skip to content

Commit f70a786

Browse files
committed
feat: ♻️ recovery function position
1 parent 0cf524c commit f70a786

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,12 @@
350350
console.log('reset');
351351
mqttPush(list.topic1, list.kebbiReset);
352352
}
353-
353+
sendCheck();
354354
drag = false;
355355
kebbi.classList.remove('target');
356356
kebbi.classList.add('reset');
357357
kebbi.style.left = `${(content.offsetWidth - kebbi.offsetWidth) / 2}px`;
358358
kebbi.style.top = `${(content.offsetHeight * 0.8 - kebbi.offsetHeight) / 2}px`;
359-
sendCheck();
360359
}
361360

362361
function updateCarSize() {

0 commit comments

Comments
 (0)