X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f46d9319a26b5cf74fcf5aa24a5a8df18f1bda74..be81f64e2a76d6023ad1a10083e079ae18d51691:/project/static/js/views/view.js 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 }); } },