Skip to content

Commit

Permalink
case insensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
riklomas committed Feb 15, 2010
1 parent c407cee commit 9397ea5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/index.html
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="style.css" type="text/css" media="all" title="" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="http://github.com/riklomas/quicksearch/raw/dev/jquery.quicksearch.js"></script>
<script type="text/javascript" src="../jquery.quicksearch.js"></script>
<script type="text/javascript">
$(function () {
/*
Expand Down
2 changes: 1 addition & 1 deletion examples/super_table.html
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Super table</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="http://github.com/riklomas/quicksearch/raw/dev/jquery.quicksearch.js"></script>
<script type="text/javascript" src="../jquery.quicksearch.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#id_search").quicksearch("table tbody tr", {
Expand Down
2 changes: 1 addition & 1 deletion jquery.quicksearch.js
Expand Up @@ -24,7 +24,7 @@ jQuery(function ($) {

this.go = function () {

var i = 0, noresults = true, vals = val.split(' ');
var i = 0, noresults = true, vals = val.toLowerCase().split(' ');

var rowcache_length = rowcache.length;
for (var i = 0; i < rowcache_length; i++)
Expand Down

0 comments on commit 9397ea5

Please sign in to comment.