Skip to content

Commit

Permalink
fix(tooltip): fix typeerror
Browse files Browse the repository at this point in the history
  • Loading branch information
benjag committed Jan 24, 2024
1 parent cb540d5 commit bccfff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tooltip/CdrTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ watch(() => props.open, () => (props.open ? openTooltip() : closeTooltip()));
onMounted(() => {
addHandlers();
const trigger = triggerEl.value?.children[0];
if (trigger) trigger.setAttribute('aria-describedby', props.id);
if (trigger) trigger.setAttribute('aria-describedby', uniqueId);
});
</script>
Expand Down

0 comments on commit bccfff9

Please sign in to comment.