Commit 3dcf1b27 authored by Alice Wyan's avatar Alice Wyan

Show direct links on stream page when available

parent 6ed93400
......@@ -41,6 +41,10 @@ function domainAndTitle(annotation) {
titleLink = null;
}
if (annotation.links && annotation.links.incontext) {
titleLink = annotation.links.incontext;
}
var domainText;
if (document.uri && document.uri.indexOf('file://') === 0 && document.title) {
var parts = document.uri.split('/');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment