We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d57d38 + 1d475cc commit 4eac31cCopy full SHA for 4eac31c
1 file changed
interfaces/default/js/deluge.js
@@ -110,8 +110,9 @@ function getTorrents(){
110
addClass('btn btn-mini').
111
html('<i class="icon-remove"></i>').
112
attr('title', 'Remove torrent').
113
+ attr('data-torrent-id', torrent.hash).
114
click(function(){
- setRemoveTorrentModal(torrent.hash);
115
+ setRemoveTorrentModal($(this).attr('data-torrent-id'));
116
});
117
buttons.append(removeButton);
118
0 commit comments