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