Merge branch 'next' of https://github.com/lhorie/mithril.js into speed

This commit is contained in:
impinball 2015-12-15 12:26:07 -05:00
commit 20c3bf07f0
2 changed files with 104 additions and 0 deletions

View file

@ -1783,6 +1783,9 @@
currentTarget = currentTarget.parentNode
}
// clear pendingRequests because we want an immediate route change
pendingRequests = 0
mroute(currentTarget[mroute.mode].slice(modes[mroute.mode].length),
args)
}