nuxt-interpolation
Advanced tools
@@ -9,3 +9,3 @@ import Vue from 'vue' | ||
| const navigate = event => { | ||
| const href = event.target.getAttribute('href') | ||
| const href = event.currentTarget.getAttribute('href') | ||
| if (href && href[0] === '/') { | ||
@@ -12,0 +12,0 @@ event.preventDefault() |
+1
-1
| { | ||
| "name": "nuxt-interpolation", | ||
| "version": "0.2.2", | ||
| "version": "0.2.3", | ||
| "description": "Directive for binding every link to catch the click event, and if it's a relative link router will push.", | ||
@@ -5,0 +5,0 @@ "main": "lib/module.js", |
5991
0.12%