mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-25 01:32:27 +01:00
fix (firefox): bug on rename which triggers the link
reported by Kolos, it seems to only happen in Firefox
This commit is contained in:
parent
edfc50c525
commit
397fd8b83e
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ class ExistingThingComponent extends React.Component {
|
|||
<ToggleableLink
|
||||
onClick={this.onThingClick.bind(this)}
|
||||
to={fileLink + window.location.search}
|
||||
disabled={this.props.file.icon === "loading"}>
|
||||
disabled={this.props.file.icon === "loading" || this.state.is_renaming}>
|
||||
<Card
|
||||
className={className + " " + this.state.hover}>
|
||||
<Input type="checkbox" checked={this.props.selected} onMouseUp={(e) => onClickCheckbox(e, 1)} onMouseDown={(e) => onClickCheckbox(e, 0.95)}/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue