From e1123273c459bc13d03fa8288b0ba718ce115888 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Thu, 28 Aug 2014 12:11:09 -0500 Subject: [PATCH] Comments --- ext/B_purecss.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/B_purecss.js b/ext/B_purecss.js index 79311a3..b76bdf9 100644 --- a/ext/B_purecss.js +++ b/ext/B_purecss.js @@ -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'));