Add title attribute to URLs in statuses (#1755)

Since URLs in statuses are truncated, it would be pleasant to see the
full URL when hovering the URL (like on twitter, yes).
lolsob-rspec
Luc Didry 2017-04-14 13:22:56 +02:00 committed by Eugen
parent 5fb7ab9f84
commit 95932656af
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ const StatusContent = React.createClass({
} else {
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener');
link.setAttribute('title', link.href);
}
}
},