Browse Source

update webtorrent preview container

twisterarmy
twisterarmy 5 months ago
parent
commit
424e08f2ae
  1. 2
      js/interface_common.js

2
js/interface_common.js

@ -1309,7 +1309,7 @@ function _startTorrentDownloadAndPreview(torrentId, previewContainer, isMedia) { @@ -1309,7 +1309,7 @@ function _startTorrentDownloadAndPreview(torrentId, previewContainer, isMedia) {
torrent = WebTorrentClient.add(torrentId);
previewContainer.empty();
var speedStatus = $('<span class="post-text"/>');
var speedStatus = $('<p/>');
previewContainer.append(speedStatus);
function updateSpeed () {
var progress = (100 * torrent.progress).toFixed(1)

Loading…
Cancel
Save