Skip to content

Commit b48fe13

Browse files
committed
Fixes
1 parent 254ea52 commit b48fe13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jira Clone/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function createNotes(data) {
142142

143143
let color = node.querySelector(".note-color");
144144
color.style.backgroundColor = colorsArr[chosenPriority];
145-
color.addEventListener('click', function (e) {
145+
color.addEventListener('click', function () {
146146
let colorName = color.getAttribute('color');
147147
let colorIdx = getColorIdx(colorName);
148148
color.style.backgroundColor = colorsArr[(colorIdx + 1) % 4];
@@ -152,7 +152,7 @@ function createNotes(data) {
152152
// filterTasksByColor(false, color.getAttribute('color'));
153153

154154
let colorHead = node.querySelector(".note-uid");
155-
colorHead.addEventListener('click', function (e) {
155+
colorHead.addEventListener('click', function () {
156156
if (deleteStatus) {
157157
node.remove();
158158
}

0 commit comments

Comments
 (0)