File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ function createNotes(data) {
142
142
143
143
let color = node . querySelector ( ".note-color" ) ;
144
144
color . style . backgroundColor = colorsArr [ chosenPriority ] ;
145
- color . addEventListener ( 'click' , function ( e ) {
145
+ color . addEventListener ( 'click' , function ( ) {
146
146
let colorName = color . getAttribute ( 'color' ) ;
147
147
let colorIdx = getColorIdx ( colorName ) ;
148
148
color . style . backgroundColor = colorsArr [ ( colorIdx + 1 ) % 4 ] ;
@@ -152,7 +152,7 @@ function createNotes(data) {
152
152
// filterTasksByColor(false, color.getAttribute('color'));
153
153
154
154
let colorHead = node . querySelector ( ".note-uid" ) ;
155
- colorHead . addEventListener ( 'click' , function ( e ) {
155
+ colorHead . addEventListener ( 'click' , function ( ) {
156
156
if ( deleteStatus ) {
157
157
node . remove ( ) ;
158
158
}
You can’t perform that action at this time.
0 commit comments