Fixed Spacing

This commit is contained in:
Onyx Azryn 2020-10-10 09:40:48 -05:00
parent 34ed9af342
commit d44cca032e
17 changed files with 18 additions and 29 deletions

View file

@ -63,8 +63,8 @@ function moved() {
function showNotes(e, i) {
if (notesEditor.offsetParent) return;
let id = e.target.id || e.target.parentNode.id || e.target.parentNode.parentNode.id;
if (e.target.parentNode.parentNode.id === "burgLabels" || e.target.parentNode.parentNode.id === "burgIcons") id
= "burg" + e.target.dataset.id;
if (e.target.parentNode.parentNode.id === "burgLabels" || e.target.parentNode.parentNode.id === "burgIcons")
id = "burg" + e.target.dataset.id;
const note = notes.find(note => note.id === id);
if (note !== undefined && note.legend !== "") {