app/assets/javascripts/ultimate/jquery.base.js.coffee in ultimate-base-0.3.1.1 vs app/assets/javascripts/ultimate/jquery.base.js.coffee in ultimate-base-0.3.2
- old
+ new
@@ -44,10 +44,10 @@
# [showOrHide[, duration[, callback]]]
$.fn.slideToggleByState = ->
if @length
if arguments.length > 0
- a = args(arguments)
+ a = _.toArray(arguments)
if a.shift()
@slideDown.apply @, a
else
@slideUp.apply @, a
else