Skip to content

Commit

Permalink
update webtorrent preview container
Browse files Browse the repository at this point in the history
  • Loading branch information
twisterarmy committed Jun 3, 2024
1 parent 9f17b2a commit 424e08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/interface_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 424e08f

Please sign in to comment.