X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f46d9319a26b5cf74fcf5aa24a5a8df18f1bda74..c594f3c20b1c68cc056d2f674accba83bd3c63cd:/project/static/js/views/view.js?ds=inline diff --git a/project/static/js/views/view.js b/project/static/js/views/view.js index a21ba1ef..52fc6e04 100644 --- a/project/static/js/views/view.js +++ b/project/static/js/views/view.js @@ -58,15 +58,16 @@ var View = Editor.Object.extend({ }, resized: function(event) { - console.log('resized', this.description(), this.element); if (this.frozen()) { - console.log('css!'); this.overlay.css({ position: 'absolute', width: this.element.width(), height: this.element.height(), top: this.element.position().top, left: this.element.position().left + }).children('div').css({ + position: 'relative', + top: this.overlay.height() / 2 - 20 }); } },