dblclick event is triggered after jquery drag and drop
<p>I'm trying to add a double click event to a jquery connected list item. I add the double click event as shown below;</p>

<pre><code>$(a_elements[i]).dblclick(duplicate_building(a_elements[i]));
</code></pre>

<p>this is part of a function that is run after an li drop and loops through each element using the a_elements array. the problem is that once I drop the element in the list the function "duplicate_building" runs anyway, even though I only dropped the element in to the list and that 's just using a single click anyway, can anyone tell me why the double click event is running without a double click and how to stop it?</p>

<p>Many thanks in advance if anyone can spot my mistake</p>
