From b2abb499f817a5800504f2cf31374e95a3052010 Mon Sep 17 00:00:00 2001 From: phof <37412+phof@users.noreply.github.com> Date: Wed, 30 Jan 2019 12:34:33 +0100 Subject: [PATCH] Fixes #4882 (#4893) --- packages/vue-app/template/components/nuxt-link.client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-app/template/components/nuxt-link.client.js b/packages/vue-app/template/components/nuxt-link.client.js index 7e4b35585e..4ae3791aa8 100644 --- a/packages/vue-app/template/components/nuxt-link.client.js +++ b/packages/vue-app/template/components/nuxt-link.client.js @@ -94,7 +94,7 @@ export default { }<% if (router.linkPrefetchedClass) { %>, addPrefetchedClass() { if (this.prefetchedClass !== 'false') { - this.$el.className += (this.$el.className + ' ' + this.prefetchedClass).trim() + this.$el.className = (this.$el.className + ' ' + this.prefetchedClass).trim() } }<% } %> }