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
|
# @package jQuery.jCounter
|
||||||
###
|
###
|
||||||
(($) ->
|
(($) ->
|
||||||
$.fn.jCounter = (max, options) ->
|
$.fn.jCounter = (max = 140, options) ->
|
||||||
max ?= 140
|
|
||||||
options = $.extend
|
options = $.extend
|
||||||
container: '<span></span>'
|
container: '<span></span>'
|
||||||
counterClass: 'counter'
|
counterClass: 'counter'
|
||||||
|
Loading…
Reference in New Issue
Block a user