Comments
This commit is contained in:
parent
908b3b5d2b
commit
e1123273c4
@ -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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user