From 34ed9af3423f906ccff861e8a1ee4cd155a06db2 Mon Sep 17 00:00:00 2001 From: Onyx Azryn Date: Sat, 10 Oct 2020 09:35:52 -0500 Subject: [PATCH] Fixed Duplicate Branch --- modules/ui/general.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/general.js b/modules/ui/general.js index 7689b1b5..e0021f14 100644 --- a/modules/ui/general.js +++ b/modules/ui/general.js @@ -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") id = "burg" + e.target.dataset.id; else - if (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 !== "") {