diff --git a/vendor/couchapp/_attachments/jquery.pathbinder.js b/vendor/couchapp/_attachments/jquery.pathbinder.js index 39e5a1f..1399434 100644 --- a/vendor/couchapp/_attachments/jquery.pathbinder.js +++ b/vendor/couchapp/_attachments/jquery.pathbinder.js @@ -14,6 +14,7 @@ _currentPath = getPath(); // if path is actually changed from what we thought it was, then react if (_lastPath != _currentPath) { + _lastPath = _currentPath; return triggerOnPath(_currentPath); } } @@ -30,7 +31,7 @@ triggerOnPath(loadPath); } else { goPath(defaultPath); - triggerOnPath(defaultPath); + triggerOnPath(getPath()); } }) },