Skip to content

TypeError and custom settings #38

@ghost

Description

Hi,

The countdown is not using all my settings:

$jq(".digits").countdown({
            image: "images/digits_small.png",
            digitWidth: 34,
            digitHeight: 45,
                format: "dd:hh:mm:ss",
            endTime: new Date(2016,3,20)
        });

its using the "image" and "digitWidth/height" but doesnt use the "format" and "endTime", it gets it from the default settings and uses the startTime so it starts from the same time on a refresh.

also i get the error:

TypeError: digits[elem]._max is not a function
makeMovement(elem, digits[elem]._max(elem, isStart), true);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions