Permalink
Browse files

Merge pull request #115 from pads/master

bxSlider function should return jQuery object when selector does not match anything
  • Loading branch information...
2 parents 5976999 + 6642aec commit 56ef6e4ee212b22cb9178762890be15a1a65d973 Steven Wanderski committed Mar 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.bxslider.js
View
@@ -84,7 +84,7 @@
$.fn.bxSlider = function(options){
- if(this.length == 0) return;
+ if(this.length == 0) return this;
// support mutltiple elements
if(this.length > 1){

0 comments on commit 56ef6e4

Please sign in to comment.