Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unify cancelation logic

  • Loading branch information...
commit 3a71ea98565cae7b3904f3517230c1a3e478cba4 1 parent de54ec7
@Candid Candid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/loading.js
View
2  src/loading.js
@@ -189,7 +189,7 @@ function bindToRoute(callback, failback) {
return;
}
routeChanged = true;
- Backbone.history.off('route', routeHandler);
+ res.cancel();
failback && failback();
}
Please sign in to comment.
Something went wrong with that request. Please try again.