We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0196b commit 799722cCopy full SHA for 799722c
filebrowser.js
@@ -2566,6 +2566,20 @@ function toggleSidebar(open) {
2566
}
2567
2568
2569
+function deleteModFileInHTML(sha) {
2570
+
2571
+ const fileEl = fileWrapper.querySelector('.file.modified[sha="'+ sha +'"]');
2572
2573
+ if (fileEl) {
2574
2575
+ deleteModFile(sha);
2576
+ fileEl.classList.remove('modified');
2577
2578
+ }
2579
2580
+}
2581
2582
2583
// when scrolled editor, save new scroll position
2584
2585
let editorScrollTimeout;
0 commit comments