add span inside preview-container

This commit is contained in:
Miguel Freitas 2016-05-08 23:57:30 -03:00
parent 45b587d936
commit 758f18fa73

View File

@ -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 = $('<span>' +
polyglot.t('Enable WebTorrent support in options page to display this content') +
'</span>');
previewContainer.append(enableWebTorrentWarning);
}
}
}