Permalink
Browse files

Unify cancelation logic

  • Loading branch information...
1 parent de54ec7 commit 3a71ea98565cae7b3904f3517230c1a3e478cba4 @candid82 candid82 committed Dec 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/loading.js
View
@@ -189,7 +189,7 @@ function bindToRoute(callback, failback) {
return;
}
routeChanged = true;
- Backbone.history.off('route', routeHandler);
+ res.cancel();
failback && failback();
}

0 comments on commit 3a71ea9

Please sign in to comment.