-
Notifications
You must be signed in to change notification settings - Fork 112
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
easyClose doesn't work if menu option is set to something other than 'menu' #56
Comments
@beau-gosse when initiating the plugin are you changing the menu option? Such as:
|
@ascott1 I tried the following two methods and both produced the results I described: Method 1:
Method 2 (as you suggested):
Thanks for the prompt follow-up! |
Sorry for the problems @beau-gosse! I'll start looking into it, but it may take a bit before I get there. |
Hey, I just had to fix this for a client this morning, here's what I did- not sure if it's the 'right' answer but: Line 157: Change to: The variable 'menu' is not defined in this context, I assumed it should be the menu stored in the init settings, and it appears to work after making this change. |
Nice catch @jblatt! I'd welcome a pull request, or I can make this update soon. |
Hah, I'm just learning git on the command line but I'll give it shot! |
Yay! Hooray for open source! |
Hi, This mobile Safari fix didn't work for me unfortunately, just wondering if there has been any new updates since Oct 22? |
If the
menu
option is changed to something other than the default 'menu', say$('#sidenav')
, the panel doesn't close even wheneasyClose
is set to true. The following error is also referenced in FF's console:ReferenceError: menu is not defined
.Not sure if this is a bug or something I'm doing.
The text was updated successfully, but these errors were encountered: