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