Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CB-7892 XHR to local files poly should only load/run once
  • Loading branch information
purplecabbage committed Dec 5, 2014
1 parent 36282cd commit 6bb3fc38a4d67cf378e1b11839c4af327ebfccd5
Showing 1 changed file with 3 additions and 0 deletions.
@@ -37,6 +37,9 @@ public void InjectScript()
if (!win.__XHRShimAliases) {
win.__XHRShimAliases = {};
}
else {
return; // already initialized, this happens when navigating to #
}
win.__onXHRLocalCallback = function (responseCode, responseText, reqId) {
if (win.__XHRShimAliases[reqId]){

0 comments on commit 6bb3fc3

Please sign in to comment.