Hoping to integrate Keyboard Accessibility (WCAG) for the Helix 3. I've added the following to the top of the main.js file but am getting the error 'Unexpected string' on line 11:
jQuery('.sp-megamenu-parent > .sp-menu-item > a').on('focus', function(event){
jQuery('.sp-has-child > div').css('display'.'none');
});
jQuery('.sp-megamenu-parent > .sp-has-child > a').on('focus', function(event){
jQuery(event.target.nextSibling).css('display'.'block');
});
Thanks in advance for assistance!