oops. fix brokenness

This commit is contained in:
Leo Horie 2015-04-22 23:00:34 -04:00
parent 24a8b0b31c
commit 86deb2fcb6

View file

@ -703,6 +703,7 @@ var m = (function app(window, undefined) {
var element = arguments[0];
var isInitialized = arguments[1];
var context = arguments[2];
var vdom = arguments[3];
element.href = (m.route.mode !== 'pathname' ? $location.pathname : '') + modes[m.route.mode] + vdom.attrs.href;
if (element.addEventListener) {
element.removeEventListener("click", routeUnobtrusive);