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:
Isiah Meadows 2015-12-15 11:12:49 -05:00
commit b08dba8ad1

View file

@ -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)
}