on stop set first item position at 1, not 0

This commit is contained in:
Ari Epstein 2012-12-08 18:17:26 -05:00
parent 6d85276a4e
commit 00643beceb

View File

@ -52,7 +52,7 @@
console.log($(element).find($(element).data('fieldSearch'))) console.log($(element).find($(element).data('fieldSearch')))
$(element).find($(element).data('fieldSearch')).each(function(index, element) { $(element).find($(element).data('fieldSearch')).each(function(index, element) {
$(element).val(index); $(element).val(index + 1);
}); });
}, },
setup: function() { setup: function() {