Skip to content

Commit

Permalink
Selector fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wmh committed Nov 16, 2013
1 parent 08705f5 commit ae87c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery-scrollbox.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-scrollbox",
"version": "1.0.3",
"version": "1.0.4",
"title": "jQuery Scrollbox",
"description": "A simple, lightweight jQuery plugin to scroll a list like carousel or traditional marquee.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion jquery.scrollbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ $.fn.scrollbox = function(config) {
containerUL.children('li:last-child').insertBefore(containerUL.children('li:first-child'));
}

curLi = container.children('li:first-child');
curLi = containerUL.children('li:first-child');
scrollDistance = config.distance !== 'auto' ?
config.distance :
config.direction === 'vertical' ? curLi.height() : curLi.width();
Expand Down

0 comments on commit ae87c0a

Please sign in to comment.