This commit is contained in:
Brian Buller 2014-08-28 12:11:09 -05:00
parent 908b3b5d2b
commit e1123273c4
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
B(window).on('load',function() {
// Handle PureCSS menu/submenu
// It currently expects:
// * menu needs class .menu-with-dropdown
// * submenu to have the .submenu class.
B('.menu-with-dropdown').on('click',function(){
var B_t = B(this),
B_sub = B(B_t.firstChild('.submenu'));