Skip to content

Commit

Permalink
Merge pull request #5826 from Countly/fix-remove-console-log-when-sel…
Browse files Browse the repository at this point in the history
…ecting-carousel-type

Fix: prevent calling focus when element is undefined on content left sidebar
  • Loading branch information
kanwarujjaval authored Dec 2, 2024
2 parents 32861df + f2d09d9 commit a571691
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@
}
},
onViewEntered: function() { //?
this.$refs.rootEl.focus();
if (this.$refs.rootEl) {
this.$refs.rootEl.focus();
}
}
},
created: function() {
Expand Down

0 comments on commit a571691

Please sign in to comment.