Side navigation
#13207 closed bug (notabug)
Opened January 14, 2013 04:30PM UTC
Closed January 14, 2013 05:59PM UTC
Issue with setting "display" style to "none" on a DIV element via an event handler in certain contexts.
Reported by: | nathaniel.k.lee@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I was trying to do a modal dialog of sorts. When I click on the page body I show the semi-transparent overlay as well as the DIV that acts as the dialog. I attached an event handler to the dialog itself such that when I click on it the dialog and the overlay should be hidden via the "hide" method or via setting "display" to "none" with the "css" method. However, specifically setting "display" doesn't work. I can set other styles such as "background-color" just fine.
I saved the code I was testing with to http://jsfiddle.net/VpBED/. Thanks!
Never mind. I saw the problem. Real face palm moment for myself. Please close this out.