Simplify and fix preventDefault -> stopPropagation

(imported from commit 3cb84804027b67662392e5a7c75bfb0603b9318d)
This commit is contained in:
Scott Feeney
2013-07-08 17:35:06 -04:00
parent c42bf9b9b2
commit d23e8d8a30
2 changed files with 5 additions and 21 deletions

View File

@@ -1271,8 +1271,7 @@ $(function () {
$("body").on('click', function (e) {
// Dismiss popovers if the user has clicked outside them
if ($('.popover-inner').has(e.target).length === 0
&& $('#stream_filters span.arrow').has(e.target).length === 0) {
if ($('.popover-inner').has(e.target).length === 0) {
popovers.hide_all();
}