Skip to content

Build your personal knowledge base with Trilium Notes

removed noteId display in the note detail, #408

zadamb0596c9eb2ca
diff --git a/src/public/javascripts/services/note_detail.js b/src/public/javascripts/services/note_detail.js
index 77031cbee0..5d90f8c66e 100644
--- a/src/public/javascripts/services/note_detail.js
+++ b/src/public/javascripts/services/note_detail.js
@@ -26,7 +26,6 @@ const $noteDetailComponents = $(".note-detail-component");
const $protectButton = $("#protect-button");
const $unprotectButton = $("#unprotect-button");
const $noteDetailWrapper = $("#note-detail-wrapper");
-const $noteIdDisplay = $("#note-id-display");
const $childrenOverview = $("#children-overview");
const $scriptArea = $("#note-detail-script-area");
const $savedIndicator = $("#saved-indicator");
@@ -201,8 +200,6 @@ async function loadNoteDetail(noteId) {
attributeService.invalidateAttributes();
}
- $noteIdDisplay.html(noteId);
-
updateNoteView();
$noteDetailWrapper.show();
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index f155897736..93bd12b15a 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -464,14 +464,6 @@ div.ui-tooltip {
border-right: none;
}
-#note-id-display {
- position: absolute;
- right: 10px;
- bottom: 8px;
- z-index: 1000;
- color: lightgrey;
-}
-
#note-type-dropdown {
max-height: 500px;
overflow-y: auto;
diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs
index 95cc87da6b..68ab2e989b 100644
--- a/src/views/desktop.ejs
+++ b/src/views/desktop.ejs
@@ -140,8 +140,6 @@
<input autocomplete="off" value="" id="note-title" tabindex="1">
<div class="hide-toggle" style="display: flex; align-items: center;">
- <span id="note-id-display" title="Note ID"></span>
-
<button class="btn btn-sm icon-button jam jam-play"
style="display: none; margin-right: 10px;"
title="Render"