mirror of https://github.com/vector-im/riot-web
Fixed buggy tooltip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
f2137fe93f
commit
a975de22ef
|
@ -290,6 +290,7 @@ class Pill extends React.Component {
|
|||
>
|
||||
{ avatar }
|
||||
{ linkText }
|
||||
{ tip }
|
||||
</a> :
|
||||
<span
|
||||
className={classes}
|
||||
|
@ -299,8 +300,8 @@ class Pill extends React.Component {
|
|||
>
|
||||
{ avatar }
|
||||
{ linkText }
|
||||
{ tip }
|
||||
</span> }
|
||||
{tip}
|
||||
</MatrixClientContext.Provider>;
|
||||
} else {
|
||||
// Deliberately render nothing if the URL isn't recognised
|
||||
|
|
Loading…
Reference in New Issue