1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

fix: browser spell (#6533)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-08-12 14:25:37 +08:00
committed by GitHub
parent 177e97bb73
commit f7a7636867
9 changed files with 31 additions and 31 deletions

View File

@@ -108,7 +108,7 @@ class DirentGridItem extends React.Component {
};
onGridItemDragStart = (e) => {
if (Utils.isIEBrower() || !this.canDrag) {
if (Utils.isIEBrowser() || !this.canDrag) {
return false;
}
@@ -125,7 +125,7 @@ class DirentGridItem extends React.Component {
};
onGridItemDragEnter = (e) => {
if (Utils.isIEBrower() || !this.canDrag) {
if (Utils.isIEBrowser() || !this.canDrag) {
return false;
}
if (this.props.dirent.type === 'dir') {
@@ -134,7 +134,7 @@ class DirentGridItem extends React.Component {
};
onGridItemDragOver = (e) => {
if (Utils.isIEBrower() || !this.canDrag) {
if (Utils.isIEBrowser() || !this.canDrag) {
return false;
}
e.preventDefault();
@@ -142,14 +142,14 @@ class DirentGridItem extends React.Component {
};
onGridItemDragLeave = (e) => {
if (Utils.isIEBrower() || !this.canDrag) {
if (Utils.isIEBrowser() || !this.canDrag) {
return false;
}
this.setState({ isGridDropTipShow: false });
};
onGridItemDragDrop = (e) => {
if (Utils.isIEBrower() || !this.canDrag) {
if (Utils.isIEBrowser() || !this.canDrag) {
return false;
}
this.setState({ isGridDropTipShow: false });