File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
client/modules/IDE/components Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ export default function SideBar() {
9191 < ul className = "sidebar__project-options" >
9292 < li >
9393 < button
94+ onMouseDown = { ( e ) => e . preventDefault ( ) }
9495 aria-label = { t ( 'Sidebar.AddFolderARIA' ) }
9596 onClick = { ( ) => {
9697 dispatch ( newFolder ( rootFile . id ) ) ;
@@ -103,6 +104,7 @@ export default function SideBar() {
103104 </ li >
104105 < li >
105106 < button
107+ onMouseDown = { ( e ) => e . preventDefault ( ) }
106108 aria-label = { t ( 'Sidebar.AddFileARIA' ) }
107109 onClick = { ( ) => {
108110 dispatch ( newFile ( rootFile . id ) ) ;
@@ -116,6 +118,7 @@ export default function SideBar() {
116118 { isAuthenticated && (
117119 < li >
118120 < button
121+ onMouseDown = { ( e ) => e . preventDefault ( ) }
119122 aria-label = { t ( 'Sidebar.UploadFileARIA' ) }
120123 onClick = { ( ) => {
121124 dispatch ( openUploadFileModal ( rootFile . id ) ) ;
You can’t perform that action at this time.
0 commit comments