mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Improved default-value
This commit is contained in:
parent
2d8724854b
commit
97cf2a2dcb
@ -7,8 +7,7 @@
|
||||
# @package jQuery.jCounter
|
||||
###
|
||||
(($) ->
|
||||
$.fn.jCounter = (max, options) ->
|
||||
max ?= 140
|
||||
$.fn.jCounter = (max = 140, options) ->
|
||||
options = $.extend
|
||||
container: '<span></span>'
|
||||
counterClass: 'counter'
|
||||
|
Loading…
Reference in New Issue
Block a user