Skip to content

Commit

Permalink
use correct element selector, fix #87
Browse files Browse the repository at this point in the history
  • Loading branch information
mskocik committed Feb 16, 2022
1 parent d862409 commit 2ebfb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Svelecte.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@
dropdownActiveIndex = flatItems.findIndex(opt => opt[prop] === selectedProp);
}
isIOS = iOS();
if (name && !hasAnchor) refSelectElement = document.getElementById(`#${__id}`);
if (name && !hasAnchor) refSelectElement = document.getElementById(__id);
});
</script>

Expand Down

0 comments on commit 2ebfb4b

Please sign in to comment.