diff --git a/common/static/js/capa/drag_and_drop/draggables.js b/common/static/js/capa/drag_and_drop/draggables.js index f70ae108b4..2123e7650a 100644 --- a/common/static/js/capa/drag_and_drop/draggables.js +++ b/common/static/js/capa/drag_and_drop/draggables.js @@ -193,8 +193,8 @@ define(['logme', 'update_input'], function (logme, updateInput) { } else { correctZIndexes(); - draggableObj.x = offsetDE.left + 50; - draggableObj.y = offsetDE.top + 50; + draggableObj.x = offsetIE.left + draggableObj.iconWidth * 0.5; + draggableObj.y = offsetIE.top + draggableObj.iconHeight * 0.5; } }