HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Flyout close and unneeded ULs

It seems for Flyouts (e.g. cog menu) to close by clicking elsewhere on the page, the content of the page must be wrapped in something with id 'Body' - The 'Flyout' is controlled in /js/global.js which contains the following line around line 809:
$(document).delegate('#Body', 'click', function() {
This theme doesn't have that. It's weird to require a #Body tag I think, but there you go...

Also it seems in the nav, the MeModule is wrapped in a UL, and I don't understand why, there is no list there. Possibly the sign in link too.


Sign In or Register to comment.