trilium/static/js/init.js

7 lines
No EOL
260 B
JavaScript

$(function() {
$(window).resize(function() {
$('div#tree').height($(window).height() - $('div#tree').offset().top);
$('div.note-editable').height($(window).height() - $('div.note-editable').offset().top);
});
$(window).resize();
});