Skip to content

Commit

Permalink
Fixed silly bug with matchResults
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmagic committed Mar 3, 2012
1 parent 6e1b88b commit ce9488d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/application.coffee
Expand Up @@ -71,7 +71,7 @@ class Results
length = match.length
string += value.slice(0, index)
string += "<span>#{value.slice(index, index + length)}</span>"
value = value.slice(index + 1)
value = value.slice(index + length)

$('ul#results').append("<li>#{string}</li>")

Expand Down

0 comments on commit ce9488d

Please sign in to comment.