Skip to content

Commit

Permalink
Merge pull request hound-search#11 from michalsanger/bug-xhr-error-ha…
Browse files Browse the repository at this point in the history
…ndling

Scope fix
  • Loading branch information
jklein committed Jan 28, 2015
2 parents 34db83f + d083a4f commit dd175aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pub/assets/js/hound.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ var Model = {
_this.didSearch.raise(_this, _this.results, _this.stats);
},
error: function(xhr, status, err) {
this.didError.raise(this, "The server broke down");
_this.didError.raise(this, "The server broke down");
}
});
},
Expand Down Expand Up @@ -243,7 +243,7 @@ var Model = {
_this.didLoadMore.raise(_this, repo, _this.results);
},
error: function(xhr, status, err) {
this.didError.raise(this, "The server broke down");
_this.didError.raise(this, "The server broke down");
}
});
},
Expand Down

0 comments on commit dd175aa

Please sign in to comment.