diff --git a/boards/static/css/base.css b/boards/static/css/base.css --- a/boards/static/css/base.css +++ b/boards/static/css/base.css @@ -13,7 +13,6 @@ .img-full { position: fixed; - z-index: 9999; background-color: #CCC; border: 1px solid #000; cursor: pointer; diff --git a/boards/static/js/image.js b/boards/static/js/image.js --- a/boards/static/js/image.js +++ b/boards/static/js/image.js @@ -85,7 +85,10 @@ function addImgPreview() { return false; } - ).draggable() + ).draggable({ + addClasses: false, + stack: '.img-full' + }) } else { $('#'+thumb_id).remove();