Right click keeps propagating in Firefox
问题 I just noticed something unusual. This is what I want to accomplish: I want a div to be shown when I click a link I want the div to disappear when I click somewhere else in the document I don't want it to disappear when I click the div itself Something like this: http://jsfiddle.net/XPmyF/ JS: (function() { var box = $('#box'); $(document).on('click', function() { if (box.css('display') == 'block') { box.css('display', 'none'); } }); $('#start').on('click', function(e) { box.css({ 'text':