Fix resizing codemirror in the code app #745

pull/1/head
yflory 4 years ago
parent ff5ba8eb1c
commit ec5ee3eaff

@ -257,8 +257,8 @@ define([
'class': 'cp-splitter'
}).appendTo($previewContainer);
$preview.on('scroll', function() {
splitter.css('top', $preview.scrollTop() + 'px');
$previewContainer.on('scroll', function() {
splitter.css('top', $previewContainer.scrollTop() + 'px');
});
var $target = $codeMirrorContainer;

Loading…
Cancel
Save