todo.txt integration
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
// omits the container).
|
||||
|
||||
(function () {
|
||||
var container = document.querySelector('aside.tree-sidebar');
|
||||
// The aside is shared with the todo widget (todo-rail.js); this script owns
|
||||
// only the .tree-scroll child so neither feature clobbers the other.
|
||||
var container = document.querySelector('aside.tree-sidebar .tree-scroll');
|
||||
if (!container) return;
|
||||
|
||||
function joinPath(parent, name) {
|
||||
@@ -188,8 +190,9 @@
|
||||
}
|
||||
|
||||
// Mobile: the tree FAB sits at the bottom of the stacked FAB group and
|
||||
// opens the rail's content in the full-viewport Overlay (overlay.js). The
|
||||
// rail container always exists when not editing, so — per the layout spec —
|
||||
// opens the tree's scroll container (not the whole aside — the todo widget
|
||||
// has its own FAB/overlay) in the full-viewport Overlay (overlay.js). The
|
||||
// container always exists when not editing, so — per the layout spec —
|
||||
// the FAB always renders; the overlay auto-closes when a folder/file link
|
||||
// inside it navigates. Hidden on desktop by .fab CSS.
|
||||
function setupFab() {
|
||||
|
||||
Reference in New Issue
Block a user