How to check mousedown event isn't on scroller in javascript
<p>This is my code:</p>

<pre><code>// Close the bubble when we click on the screen.
document.addEventListener('mousedown', function (e) {
// if ain't right click
if(e.button != 2){
    // hide
    setTimeout("bubbleDOM.style.visibility = 'hidden';", 500);
}
}, false);
</code></pre>

<p>My probem is that when the user tries to scroll with the browser scroller the
setTimeout takes effect. How do i check that the mousedown isn't in the scroller?</p>
