We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c937b91 commit f6ccb59Copy full SHA for f6ccb59
gui/src/components/commons/Tooltip.tsx
@@ -364,9 +364,12 @@ export function DrawerTooltip({
364
};
365
366
const touchEnd = (e: MouseEvent | TouchEvent) => {
367
- if (e.currentTarget instanceof HTMLButtonElement && e.currentTarget.hasAttribute('disabled')) {
368
- e.preventDefault()
369
- return
+ if (
+ e.currentTarget instanceof HTMLButtonElement &&
+ e.currentTarget.hasAttribute('disabled')
370
+ ) {
371
+ e.preventDefault();
372
+ return;
373
}
374
if (Date.now() - touchTimestamp.current < TOOLTIP_DELAY) {
375
clearTimeout(touchTimeout.current);
0 commit comments