From 758f18fa7343cda84bc9ddb19c15b4baff8fa3f7 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 8 May 2016 23:57:30 -0300 Subject: [PATCH] add span inside preview-container --- js/interface_common.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/interface_common.js b/js/interface_common.js index 6280e04..83e4dbc 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -952,7 +952,10 @@ function applyShortenedURI(short, uriAndMimetype) { previewContainer.append(startTorrentLink); } } else { - previewContainer.text(polyglot.t('Enable WebTorrent support in options page to display this content')); + var enableWebTorrentWarning = $('' + + polyglot.t('Enable WebTorrent support in options page to display this content') + + ''); + previewContainer.append(enableWebTorrentWarning); } } }