Skip to content

Instantly share code, notes, and snippets.

View fleeting's full-sized avatar
🐢
As productive as this turtle.

James Fleeting fleeting

🐢
As productive as this turtle.
View GitHub Profile
drop: function(event, ui) {
$("#photos").sortable('cancel');
$(this).addClass('ui-state-highlight').html($("img", ui.draggable).clone());
$("input[name=default_photo]").attr("value", $(ui.draggable).attr("id"));
}
//....