1
0
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:
Qstick 2020-09-10 22:15:19 -04:00
parent 2f311452da
commit da720fdf4c

View File

@ -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,