mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed: Tooltips not working for Icon Buttons, Revert title pullout in Link.js
This commit is contained in:
parent
2f311452da
commit
da720fdf4c
@ -32,7 +32,6 @@ class Link extends Component {
|
||||
isDisabled,
|
||||
noRouter,
|
||||
onPress,
|
||||
title,
|
||||
...otherProps
|
||||
} = this.props;
|
||||
|
||||
@ -40,10 +39,6 @@ class Link extends Component {
|
||||
let el = component;
|
||||
|
||||
if (to) {
|
||||
if (title) {
|
||||
linkProps.title = title;
|
||||
}
|
||||
|
||||
if ((/\w+?:\/\//).test(to)) {
|
||||
el = 'a';
|
||||
linkProps.href = to;
|
||||
@ -92,7 +87,6 @@ Link.propTypes = {
|
||||
className: PropTypes.string,
|
||||
component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
||||
to: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
target: PropTypes.string,
|
||||
isDisabled: PropTypes.bool,
|
||||
noRouter: PropTypes.bool,
|
||||
|
Loading…
Reference in New Issue
Block a user