mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix resizing codemirror in the code app #745
This commit is contained in:
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…
Reference in New Issue
Block a user