mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +00:00
add span inside preview-container
This commit is contained in:
parent
45b587d936
commit
758f18fa73
@ -952,7 +952,10 @@ function applyShortenedURI(short, uriAndMimetype) {
|
|||||||
previewContainer.append(startTorrentLink);
|
previewContainer.append(startTorrentLink);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
previewContainer.text(polyglot.t('Enable WebTorrent support in options page to display this content'));
|
var enableWebTorrentWarning = $('<span>' +
|
||||||
|
polyglot.t('Enable WebTorrent support in options page to display this content') +
|
||||||
|
'</span>');
|
||||||
|
previewContainer.append(enableWebTorrentWarning);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user