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

handle missing cssClass cleanly #138

Merged
merged 1 commit into from
Mar 15, 2016
Merged

handle missing cssClass cleanly #138

merged 1 commit into from
Mar 15, 2016

Conversation

RangerRick
Copy link
Contributor

I have a case where the flot graph and the config it's pointing to is being torn down in such a way that the tooltipOptions.cssClass property no longer exists by the time getDomElement() is called.

This checks for its existence and returns a dummy div if it does not exist, to keep from throwing an undefined error.

krzysu pushed a commit that referenced this pull request Mar 15, 2016
handle missing cssClass cleanly
@krzysu krzysu merged commit 2e2f51d into krzysu:master Mar 15, 2016
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

Successfully merging this pull request may close these issues.

2 participants