fix scroller
This commit is contained in:
parent
b271c94012
commit
1a80c5d9ce
@ -291,4 +291,8 @@ $(document).ready(function() {
|
|||||||
$editor.on('scroll', () => {
|
$editor.on('scroll', () => {
|
||||||
$lineNumbers.scrollTop($editor.scrollTop());
|
$lineNumbers.scrollTop($editor.scrollTop());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$viewer.on('scroll', () => {
|
||||||
|
$lineNumbers.scrollTop($viewer.scrollTop());
|
||||||
|
});
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user