diff --git a/file/js/jCounter.jQuery.coffee b/file/js/jCounter.jQuery.coffee index bc30d03..6b98384 100644 --- a/file/js/jCounter.jQuery.coffee +++ b/file/js/jCounter.jQuery.coffee @@ -7,8 +7,7 @@ # @package jQuery.jCounter ### (($) -> - $.fn.jCounter = (max, options) -> - max ?= 140 + $.fn.jCounter = (max = 140, options) -> options = $.extend container: '' counterClass: 'counter'