mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
Fix eslint warnings (#5635)
* 01 fix eslint warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings * fix code warnings
This commit is contained in:
@@ -25,7 +25,7 @@ class DirentsDraggedPreview extends React.Component {
|
||||
handleDragEnd = () => {
|
||||
this.element.style.opacity = 0;
|
||||
this.props.onHideDirentsDraggablePreview();
|
||||
}
|
||||
};
|
||||
|
||||
handleDragOver = (event) => {
|
||||
if (Utils.isIEBrower()) {
|
||||
@@ -36,12 +36,12 @@ class DirentsDraggedPreview extends React.Component {
|
||||
|
||||
this.element.style.top = event.clientY + 'px';
|
||||
this.element.style.left = event.clientX + 'px';
|
||||
}
|
||||
};
|
||||
|
||||
handleDrop = (event) => {
|
||||
this.element.style.opacity = 0;
|
||||
this.props.onHideDirentsDraggablePreview();
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
let{ selectedDirentList } = this.props;
|
||||
|
Reference in New Issue
Block a user