Browse Source

add span inside preview-container

readme-update
Miguel Freitas 9 years ago
parent
commit
758f18fa73
  1. 5
      js/interface_common.js

5
js/interface_common.js

@ -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…
Cancel
Save