small fix
This commit is contained in:
parent
399bb961a4
commit
8b8ff9de9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user