File tree 1 file changed +3
-3
lines changed
client/modules/IDE/components 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default function SideBar() {
91
91
< ul className = "sidebar__project-options" >
92
92
< li >
93
93
< button
94
- onMouseDown = { ( e ) => e . preventDefault ( ) } // prevents triggering the blur event before onClick
94
+ onMouseDown = { ( e ) => e . preventDefault ( ) }
95
95
aria-label = { t ( 'Sidebar.AddFolderARIA' ) }
96
96
onClick = { ( ) => {
97
97
dispatch ( newFolder ( rootFile . id ) ) ;
@@ -104,7 +104,7 @@ export default function SideBar() {
104
104
</ li >
105
105
< li >
106
106
< button
107
- onMouseDown = { ( e ) => e . preventDefault ( ) } // prevents triggering the blur event before onClick
107
+ onMouseDown = { ( e ) => e . preventDefault ( ) }
108
108
aria-label = { t ( 'Sidebar.AddFileARIA' ) }
109
109
onClick = { ( ) => {
110
110
dispatch ( newFile ( rootFile . id ) ) ;
@@ -118,7 +118,7 @@ export default function SideBar() {
118
118
{ isAuthenticated && (
119
119
< li >
120
120
< button
121
- onMouseDown = { ( e ) => e . preventDefault ( ) } // prevents triggering the blur event before onClick
121
+ onMouseDown = { ( e ) => e . preventDefault ( ) }
122
122
aria-label = { t ( 'Sidebar.UploadFileARIA' ) }
123
123
onClick = { ( ) => {
124
124
dispatch ( openUploadFileModal ( rootFile . id ) ) ;
You can’t perform that action at this time.
0 commit comments