It’s the onmouseup event that is causing the selection to get unselected, so you just need to add:
$("#souper_fancy").mouseup(function(e){
e.preventDefault();
});
It’s the onmouseup event that is causing the selection to get unselected, so you just need to add:
$("#souper_fancy").mouseup(function(e){
e.preventDefault();
});