File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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 */
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 ;
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
You can’t perform that action at this time.
0 commit comments