diff --git a/lib/assets/javascripts/caroufredsel.js.coffee b/lib/assets/javascripts/caroufredsel.js.coffee index 306dbd1..5643119 100644 --- a/lib/assets/javascripts/caroufredsel.js.coffee +++ b/lib/assets/javascripts/caroufredsel.js.coffee @@ -4,7 +4,7 @@ #= require caroufredsel/jquery.carouFredSel-6.0.3 class @Carousel - constructor: (@carousel, options) -> + constructor: (@carousel, options = {}) -> if options.onChange @onChange = options.onChange delete options.onChange