Skip to content

Commit

Permalink
Fix firefox bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tdreyno committed Jul 26, 2010
1 parent 1debea3 commit 76d5828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherpa.js
Expand Up @@ -181,7 +181,7 @@ Sherpa.Node.prototype = {
}
}
if (this.lookup[parts[0]]) {
var potentialMatch = this.lookup[parts[0]].find(parts.slice(1, parts.size), request, params);
var potentialMatch = this.lookup[parts[0]].find(parts.slice(1, parts.length), request, params);
if (potentialMatch) return potentialMatch;
}
if (this.catchall) {
Expand Down

0 comments on commit 76d5828

Please sign in to comment.