Merge pull request #816 from ikki3355/next
links "config" ed with route need to reset pendingRequests count to zero on click
This commit is contained in:
commit
b08dba8ad1
1 changed files with 3 additions and 0 deletions
|
|
@ -1694,6 +1694,9 @@ void (function (global, factory) { // eslint-disable-line
|
|||
currentTarget = currentTarget.parentNode
|
||||
}
|
||||
|
||||
// clear pendingRequests because we want an immediate route change
|
||||
pendingRequests = 0;
|
||||
|
||||
m.route(currentTarget[m.route.mode].slice(modes[m.route.mode].length),
|
||||
args)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue