How to quickly unbind an event wherever it's attached?
<p>I've bound a couple events like so:</p>

<pre><code>$('#window-overlay').on('click', overlayClickHandler);
$clickedObj.on('click', overlayClickHandler);
</code></pre>

<p>Is there some easy way so that if I click on one of these things, the click event is removed from the other thing? Removing it from <code>#window-overlay</code> is simple enough, but $clickedObj is a variable within an <code>if</code> block, so later on it may be difficult to figure out what object the handler was bound to.</p>
