[twitter-bootstrap] How to dismiss a Twitter Bootstrap popover by clicking outside?

According to http://getbootstrap.com/javascript/#popovers,

<button type="button" class="popover-dismiss" data-toggle="popover" title="Dismissible popover" data-content="Popover Content">Dismissible popover</button>

Use the focus trigger to dismiss popovers on the next click that the user makes.

$('.popover-dismiss').popover({
    trigger: 'focus'
})