Index: trunk/extensions/Narayam/resources/ext.narayam.core.js |
— | — | @@ -660,7 +660,6 @@ |
661 | 661 | var positionFunction = rtlEnv ? "append" : "prepend"; |
662 | 662 | $( '#p-personal ul:first' )[positionFunction]( $li ); |
663 | 663 | $( 'body' ).prepend( $menu ); |
664 | | - $menu.hide(); |
665 | 664 | $li.click( function( event ) { |
666 | 665 | var menuSide, menuOffset, distanceToEdge; |
667 | 666 | |
— | — | @@ -700,7 +699,9 @@ |
701 | 700 | $menu.removeClass( 'open' ); |
702 | 701 | $menu.hide(); |
703 | 702 | } ); |
704 | | - |
| 703 | + $menu.click( function( event ) { |
| 704 | + event.stopPropagation(); |
| 705 | + } ); |
705 | 706 | // Workaround for IE bug - activex components like input fields |
706 | 707 | // coming on top of everything. |
707 | 708 | // TODO: is there a better solution other than hiding it on hover? |