Skip to content
Snippets Groups Projects
Commit fa89deb4 authored by Luc Didry's avatar Luc Didry Committed by Eugen
Browse files

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).
parent 26a892dd
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ const StatusContent = React.createClass({
} else {
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener');
link.setAttribute('title', link.href);
}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment