This commit is contained in:
Brian Buller 2014-08-28 12:11:09 -05:00
parent 908b3b5d2b
commit e1123273c4

View File

@ -1,4 +1,8 @@
B(window).on('load',function() { 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(){ B('.menu-with-dropdown').on('click',function(){
var B_t = B(this), var B_t = B(this),
B_sub = B(B_t.firstChild('.submenu')); B_sub = B(B_t.firstChild('.submenu'));