Skip to content

Commit 6441476

Browse files
committed
[build] 0.7.13
1 parent c5dfe99 commit 6441476

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dist/vue-router.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue-router v0.7.12
2+
* vue-router v0.7.13
33
* (c) 2016 Evan You
44
* Released under the MIT License.
55
*/
@@ -1875,7 +1875,6 @@
18751875
function Link (Vue) {
18761876
var _Vue$util = Vue.util;
18771877
var _bind = _Vue$util.bind;
1878-
var getAttr = _Vue$util.getAttr;
18791878
var isObject = _Vue$util.isObject;
18801879
var addClass = _Vue$util.addClass;
18811880
var removeClass = _Vue$util.removeClass;
@@ -1928,8 +1927,9 @@
19281927
// update things when the route changes
19291928
this.unwatch = vm.$watch('$route', _bind(this.onRouteUpdate, this));
19301929
// check v-link-active ids
1931-
var activeIds = getAttr(this.el, LINK_UPDATE);
1930+
var activeIds = this.el.getAttribute(LINK_UPDATE);
19321931
if (activeIds) {
1932+
this.el.removeAttribute(LINK_UPDATE);
19331933
this.activeIds = activeIds.split(',');
19341934
}
19351935
// no need to handle click if link expects to be opened

0 commit comments

Comments
 (0)