Skip to content

Commit 5daab56

Browse files
Merge pull request #3458 from nextcloud/fix/quotaselect/usage-tooltip-stable29
[stable29] fix(QuotaSelect): Fix quota usage tooltip
2 parents 9fe6952 + c507b6e commit 5daab56

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/settings/QuotaSelect.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,7 @@ export class QuotaSelect extends Component<QuotaSelectProps, QuotaSelectState> {
8585
style={{width: usedPercentage + '%'}}/>
8686
<select className="editselect"
8787
onChange={this.onSelect}
88-
ref={(ref) => {
89-
ref && $(ref).tooltip({
90-
title: t('settings', '{size} used', {size: humanSize}, 0, {escape: false}).replace('&lt;', '<'),
91-
delay: {
92-
show: 100,
93-
hide: 0
94-
}
95-
});
96-
}}
88+
title={t('settings', '{size} used', {size: humanSize}, 0, {escape: false}).replace('&lt;', '<')}
9789
value={this.props.value}>
9890
{options}
9991
<option value="other">

0 commit comments

Comments
 (0)