From 62c82993193a5497488dc8e2f9158ffd452fec3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 5 Aug 2022 09:36:39 +0300 Subject: [PATCH] refactor --- src/components/selectbutton/SelectButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/selectbutton/SelectButton.vue b/src/components/selectbutton/SelectButton.vue index a7801b5a5..47a388fca 100755 --- a/src/components/selectbutton/SelectButton.vue +++ b/src/components/selectbutton/SelectButton.vue @@ -162,7 +162,7 @@ export default { this.$emit('focus', event); }, onBlur(event, option) { - if (event.target && event.target.parentElement && event.relatedTarget && event.relatedTarget.parentElement && event.target.parentElement.getAttribute('aria-labelledby') !== event.relatedTarget.parentElement.getAttribute('aria-labelledby')) { + if (event.target && event.relatedTarget && event.target.parentElement.getAttribute('aria-labelledby') !== event.relatedTarget.parentElement.getAttribute('aria-labelledby')) { this.defaultTabIndexes(); } this.$emit('blur', event, option);