Merge branch 'next' of https://github.com/lhorie/mithril.js into speed
This commit is contained in:
commit
20c3bf07f0
2 changed files with 104 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue