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) {
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 }
You can’t perform that action at this time.
0 commit comments