Skip to content

Hide callback not working #11

@mccannf

Description

@mccannf

Your hide callback checks the show option instead.

        // Get show/hide callback functions

        var show = cfg.show || function(control) {
            control.show();
        };

        var hide = cfg.show || function(control) {
            control.hide();
        };

should be:

        // Get show/hide callback functions

        var show = cfg.show || function(control) {
            control.show();
        };

        var hide = cfg.hide || function(control) {
            control.hide();
        };

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