Skip to content

Commit

Permalink
refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammed-abuodeh committed May 2, 2024
1 parent e740762 commit 9f1af92
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions configFileHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,7 @@ var parseConfig = function (content) {
btn.onclick = editLabelByButton;

group = configs.relation.values[i].group;
if (!(group in divs)) {
divs[group] = document.createElement("div");
}
divs[group].classList.add('editTagsAndLabels');
divs[group].appendChild(btn);
addButtonToDivGroup(divs, group, btn)
} else {
relLabels[configs.relation.values[i].key] = [];
relLabels[configs.relation.values[i].key].push(
Expand Down

0 comments on commit 9f1af92

Please sign in to comment.