Skip to content

get rid of the "undefined" message #344

Open
@outline4

Description

@outline4

Hi,
Whenever one of the "source" divs is not present, it will display "undefined".

my situation:
source: '#main_nav, #sub_nav'

sometimes there's no #sub_nav, so within the sidr-inner div it will display 'undefined' instead of nothing.

It would be nice if the plugin could fail more gracefully.

Cheers
Stefan

btw: I love sidr ;)

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