X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f46d9319a26b5cf74fcf5aa24a5a8df18f1bda74..c51a084ecf2fefb54ef9f74b21beff437ac9a4bb:/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 }); } },