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

Links on lower-resolution Slimmenu also toggle #1

Open
wants to merge 3 commits into
base: master
from
Jump to file or symbol
Failed to load files and symbols.
+11 −1
Diff settings

Always

Just for now

View
@@ -65,6 +65,16 @@
indentChildren: true,
childrenIndenter: '»'
});
/* start enable link toggle by jamesarthurjohn
This allows the links in the lower resolution instance of Slimmenu to toggle multi-level sub-menus when
clicking the link as well as the button.
*/
$(".slimmenu > li > a").each(function(){
$(this).click(function(){
$(this).siblings('.sub-collapser').click();
});
});
/* end enable link toggle by jamesarthurjohn */
</script>
</body>
</html>
</html>
ProTip! Use n and p to navigate between commits in a pull request.