diff --git a/frontend/express/public/javascripts/countly/vue/components/content.js b/frontend/express/public/javascripts/countly/vue/components/content.js index 2ebd538aa26..fedea228047 100644 --- a/frontend/express/public/javascripts/countly/vue/components/content.js +++ b/frontend/express/public/javascripts/countly/vue/components/content.js @@ -224,7 +224,9 @@ } }, onViewEntered: function() { //? - this.$refs.rootEl.focus(); + if (this.$refs.rootEl) { + this.$refs.rootEl.focus(); + } } }, created: function() {