Skip to content

Commit

Permalink
update unslider.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Visual Idiot committed Dec 15, 2015
1 parent b78330e commit 0302eb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/js/unslider-min.js

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

4 changes: 2 additions & 2 deletions src/js/unslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
}

return self.slide('top', to);
}
};

// Actually move the slide now
// We have to pass a property to animate as there's
Expand Down Expand Up @@ -605,7 +605,7 @@
var call = $this.data('unslider')[opts[0]];

// Do we have arguments to pass to the string-function?
$.isFunction(call) && call.apply($this, args ? null : opts[1].split(','));
$.isFunction(call) && call.apply($this, opts[1] ? opts[1].split(',') : null);
}

return $this.data('unslider', new $.Unslider($this, opts));
Expand Down

0 comments on commit 0302eb7

Please sign in to comment.