diff --git a/file/js/jCounter.jQuery.coffee b/file/js/jCounter.jQuery.coffee index 591d8d6..2fc5418 100644 --- a/file/js/jCounter.jQuery.coffee +++ b/file/js/jCounter.jQuery.coffee @@ -22,7 +22,7 @@ this.wrap('
').parent().append('
' + max + '
'); jCounterContainer = $(this).parent().children('.' + options.counterClass) else - if `typeof container == "object"` + if typeof container is 'object' jCounterContainer = container else jCounterContainer = $ container