Fix stacking of things that are not an image

This commit is contained in:
Paul van Tilburg 2012-01-13 10:43:08 +01:00
parent edce038508
commit f938e66614

View file

@ -14,7 +14,8 @@ $(document).ready(function() {
$.each(data, function(key, val) {
$.get("draggables/" + key, function(data) {
$("#draggables").append(data);
$(".draggable").draggable({ stack: "#draggables img",
$(".draggable").draggable({ stack: ".draggable",
containment: "window",
stop: update_drag_info });
// FIXME: highlight text for now, until we can determine and
// store what everything exactly is.