Remove TODO.txt integration
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
// omits the container).
|
||||
|
||||
(function () {
|
||||
// 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.
|
||||
// This script owns the .tree-scroll child of the aside, not the aside itself.
|
||||
var container = document.querySelector('aside.tree-sidebar .tree-scroll');
|
||||
if (!container) return;
|
||||
|
||||
@@ -190,11 +189,10 @@
|
||||
}
|
||||
|
||||
// Mobile: the tree FAB sits at the bottom of the stacked FAB group and
|
||||
// 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.
|
||||
// opens the tree's scroll container 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() {
|
||||
var fab = document.createElement('button');
|
||||
fab.type = 'button';
|
||||
|
||||
Reference in New Issue
Block a user