Skip to content

Commit

Permalink
navFormatter index was off
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Feb 28, 2012
1 parent 7b7f1d3 commit 4218ec7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

### Version 2.2.10 (2/28/2012)

* Fixed navFormatter - I copied the code from AnythingSlider which has its option named "navigationFormatter", not "navFormatter". That'll teach me for not testing!
* Fixed navFormatter
* I copied the code from AnythingSlider which has its option named "navigationFormatter", not "navFormatter". That'll teach me for not testing!
* Fixed the index since it was sending the navFormatter a zero-based index instead of the expected one-based index.

### Version 2.2.9 (2/27/2012)

Expand Down
2 changes: 1 addition & 1 deletion js/jquery.movingboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
$a = $(a);
// If a formatter function is present, use it
if ($.isFunction(o.navFormatter)) {
t = o.navFormatter(i, $(this));
t = o.navFormatter(j, $(this));
if (typeof(t) === "string") {
$a.html(t);
} else {
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.movingboxes.min.js

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

0 comments on commit 4218ec7

Please sign in to comment.