mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
parent
a614fd3f81
commit
b2abb499f8
@ -94,7 +94,7 @@ export default {
|
|||||||
}<% if (router.linkPrefetchedClass) { %>,
|
}<% if (router.linkPrefetchedClass) { %>,
|
||||||
addPrefetchedClass() {
|
addPrefetchedClass() {
|
||||||
if (this.prefetchedClass !== 'false') {
|
if (this.prefetchedClass !== 'false') {
|
||||||
this.$el.className += (this.$el.className + ' ' + this.prefetchedClass).trim()
|
this.$el.className = (this.$el.className + ' ' + this.prefetchedClass).trim()
|
||||||
}
|
}
|
||||||
}<% } %>
|
}<% } %>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user