Fix stacking of things that are not an image
This commit is contained in:
parent
edce038508
commit
f938e66614
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ $(document).ready(function() {
|
||||||
$.each(data, function(key, val) {
|
$.each(data, function(key, val) {
|
||||||
$.get("draggables/" + key, function(data) {
|
$.get("draggables/" + key, function(data) {
|
||||||
$("#draggables").append(data);
|
$("#draggables").append(data);
|
||||||
$(".draggable").draggable({ stack: "#draggables img",
|
$(".draggable").draggable({ stack: ".draggable",
|
||||||
|
containment: "window",
|
||||||
stop: update_drag_info });
|
stop: update_drag_info });
|
||||||
// FIXME: highlight text for now, until we can determine and
|
// FIXME: highlight text for now, until we can determine and
|
||||||
// store what everything exactly is.
|
// store what everything exactly is.
|
||||||
|
|
Reference in a new issue