Skip to content

Conversation

travisrussi
Copy link

When using just one of the side menus, an 'undefined' exception was encountered. 'this.right' and/or 'this.left' was undefined, causing a javascript error.

mlynch added a commit that referenced this pull request Nov 24, 2013
sideMenuController: fixed undefined exception when using just one side menu
@mlynch mlynch merged commit 8df18bf into ionic-team:master Nov 24, 2013
@mlynch
Copy link
Contributor

mlynch commented Nov 24, 2013

Thanks @travisrussi. I'm merging this for now as a quick fix, but I'd like to fix the root problem there which is that the menu is being partially defined in the <side-menus> directive, and then completed in the <side-menu> if there is one. It could be done better.

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