Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of the "undefined" message #344

Open
outline4 opened this issue Apr 18, 2019 · 0 comments
Open

get rid of the "undefined" message #344

outline4 opened this issue Apr 18, 2019 · 0 comments

Comments

@outline4
Copy link

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 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant